-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
fix: undeprecate and remove warnings for --global, -g, --local #4982
Conversation
no statistically significant performance changes detected timing results
|
I'm still getting the following error on 18.12.1. Is there a regression?
|
Same, Still having it after updating with |
I am using the latest version and seeing this problem --global |
How to save this problem? |
Seems to be fine with v8.13.1. There are YouTubers advising to manually modify |
In that case you can try this workaround 🙈: https://youtu.be/7xEgFfpUeEs?t=232 |
right, that sounds like whoever is still seeing this error message is getting it from the binary jumper thing that retrieves the global prefix in order to enable Line 23 in ef8d2ed
A possible clean solution would be to uninstall node + npm (however you got it) and install it again. |
Right now this pull request is merged but not released. @fritzy can you please bump the |
Any Response? |
npm first [deprecated](npm/cli#4879) but has since [undeprecated](npm/cli#4982) it.
`npm bin` was removed as part of npm [v9.0.0](https://github.com/npm/cli/releases/tag/v9.0.0). Also npm first [deprecated](npm/cli#4879) `--global` but has since [undeprecated](npm/cli#4982) it.
--global was erroneously deprecated in node v16.15.1 and npm v8.12.0 on Windows. npm/cli#4980 npm/cli#4982
--global was erroneously deprecated in node v16.15.1 and npm v8.12.0 on Windows. npm/cli#4980 npm/cli#4982
--global was erroneously deprecated in node v16.15.1 and npm v8.12.0 on Windows. npm/cli#4980 npm/cli#4982
Internally, we made a mistake in deprecating
--global
, and are correcting that with this PR.The original PR is here. #4879
This removes deprecation warnings and updates documentation.