-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[BUG] version specifier doesn't work with scoped packages in npm init
#5175
Comments
npm init
When it's scoped, you have to use the full package name - |
That doesn't works either
|
@alan-agius4 Have you tried this?
|
Hi @marssaljr, I am well aware of that command, as I am from the Angular team. The bug I am reporting is caused by NPM init command is incorrectly handling version specifiers when using scoped packages. |
NPM doesn't correctly handle version specifier for scoped packages when using the `init` command See: npm/cli#5175
NPM doesn't correctly handle version specifier for scoped packages when using the `init` command See: npm/cli#5175 (cherry picked from commit 467ba5a)
NPM doesn't correctly handle version specifier for scoped packages when using the `init` command See: npm/cli#5175
Sorry about that @alan-agius4. Should be fixed by #5206 |
Thanks @wraithgar |
@alan-agius4 this is in |
Great thanks. |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
When using
npm init
the version specifier doesn't work when the package is scoped.Expected Behavior
The version specifier is used and the command doesn't error.
Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: