We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Debated on this being "Feature request" or "Bug"
NPM has been talking about deprecating -global - this cookbook needs to account for that.
-global
Recent releases of NPM CLI have fulfilled the deprecation - causing helper to fail since it prints the deprecation warning to stderr https://github.com/sous-chefs/nodejs/blob/main/libraries/nodejs_helper.rb#L25
Luckily NPM has reverted it, but not before some damage done : https://github.com/npm/cli/releases/tag/v8.12.1
Update helper to use --location=global instead
--location=global
Pinning to specific NPM CLI version, but that's short-sighted
npm/cli@8898710
The text was updated successfully, but these errors were encountered:
Another option is to pass environment along so the npm list can better/properly mimic what npm install will eventually do.
environment
npm list
npm install
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
🗣️ Foreword
Debated on this being "Feature request" or "Bug"
NPM has been talking about deprecating
-global
- this cookbook needs to account for that.😦 Problem Statement
Recent releases of NPM CLI have fulfilled the deprecation - causing helper to fail since it prints the deprecation warning to stderr https://github.com/sous-chefs/nodejs/blob/main/libraries/nodejs_helper.rb#L25
Luckily NPM has reverted it, but not before some damage done : https://github.com/npm/cli/releases/tag/v8.12.1
❔ Possible Solution
Update helper to use
--location=global
insteadPinning to specific NPM CLI version, but that's short-sighted
➕ Additional context
npm/cli@8898710
The text was updated successfully, but these errors were encountered: