Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ERR_INVALID_THIS" on "pnpm install" in Node 20 #128755

Closed
4 tasks done
CamilleHbp opened this issue Apr 19, 2023 · 6 comments
Closed
4 tasks done

"ERR_INVALID_THIS" on "pnpm install" in Node 20 #128755

CamilleHbp opened this issue Apr 19, 2023 · 6 comments
Labels
bug Reproducible Homebrew/homebrew-core bug outdated PR was locked due to age

Comments

@CamilleHbp
Copy link

CamilleHbp commented Apr 19, 2023

brew gist-logs <formula> link OR brew config AND brew doctor output

$ brew doctor
Your system is ready to brew.

Verification

  • My "brew doctor output" says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.
  • I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?

The pnpm brew package is unusable with Node 20. The bug is referenced in this issue, and already merged.

Could we update the formulae in Homebrew? Thank you! :)

Use pnpm to install packages after update.

What happened (include all command output)?

The command did not work : GET https://nodejs.org/download/release/index.json error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.

What did you expect to happen?

I expected pnpm to use the updated Node to install my packages.

Step-by-step reproduction instructions (by running brew commands)

`brew update && brew upgrade && brew cleanup`

Node should be updated to version 20.

`pnpm install`

The command should fail with the previous output.
@CamilleHbp CamilleHbp added the bug Reproducible Homebrew/homebrew-core bug label Apr 19, 2023
@SMillerDev
Copy link
Member

It's still open so it's clearly not a brew bug.

@SMillerDev SMillerDev closed this as not planned Won't fix, can't repro, duplicate, stale Apr 19, 2023
@CamilleHbp
Copy link
Author

Hello @SMillerDev 👋 :)

I don't know what you mean by open. The issue is closed and pnpm was updated to 8.3.1 to resolve this issue. Brew is still using 8.3.0. How could I ask for an update if not in the brew tool?

@carlocab
Copy link
Member

Should be fixed by #128758.

@SMillerDev
Copy link
Member

When you opened this issue, the issue you referenced was still open.
Screenshot 2023-04-19 at 15 45 54

@ZhongRuoyu
Copy link
Member

#128758 is merged now. Please try:

brew update
brew upgrade pnpm

@CamilleHbp
Copy link
Author

When you opened this issue, the issue you referenced was still open. Screenshot 2023-04-19 at 15 45 54

Oh sorry, I thought is was closed since the fix was already merged. My bad! Thank you very much for your response! :)

#128758 is merged now. Please try:

brew update
brew upgrade pnpm

I will do, thank you very much! 🙏

@github-actions github-actions bot added the outdated PR was locked due to age label May 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2023
@carlocab carlocab reopened this Jun 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Reproducible Homebrew/homebrew-core bug outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

4 participants