[BUG] `d` Uses Deprecated Switch `-g` · Issue #4980 - GitHub
Có thể bạn quan tâm
Skip to content You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} npm / cli Public 
flensrockeropened on Jun 2, 2022
- Notifications You must be signed in to change notification settings
- Fork 4k
- Star 9.4k
- Code
- Issues 578
- Pull requests 47
- Actions
- Wiki
- Security
Uh oh!
There was an error while loading. Please reload this page.
- Insights
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
When invoking npm --version on Windows there is a warning about a deprecated commandline switch:
❯ npm --version npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead. 8.12.0Expected Behavior
No warning when no deprecated switch is used.
Steps To Reproduce
After upgrading npm to version 8.12.0 with npm-windows-upgrade npm always shows a warning on every execution about the deprecated switch -g.
Environment
- npm: 8.12.0
- Node.js: 16.15.0
- OS Name: Windows 11
Metadata
Metadata
Assignees
No one assignedLabels
thing that needs fixingneeds review for next stepswork is associated with a specific npm 8 releaseType
No typeProjects
No projectsMilestone
No milestoneRelationships
None yetDevelopment
No branches or pull requestsIssue actions
You can’t perform that action at this time.Từ khóa » G Npm M
-
Npm
-
G - Npm
-
Http-server - Npm
-
Downloading And Installing Node.js And Npm
-
Express - Npm
-
React - Npm
-
Node.js
-
How To Solve Npm Install Error “npm ERR! Code 1” - Stack Overflow
-
Npm Install Command Failing With Message "could Not Find Visual ...
-
Tj/n: Node Version Management - GitHub
-
Presenting V7.0.0 Of The Npm CLI - The GitHub Blog
-
How To Update The Npm Version Bundled With Your Node.js Installation
-
How To Check Node Version - RisingStack Engineering
-
How To Update NPM ? - GeeksforGeeks