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

[BUG] npm isntall is also working as npm install #6403

Closed
2 tasks done
dzheng113 opened this issue Apr 26, 2023 · 1 comment
Closed
2 tasks done

[BUG] npm isntall is also working as npm install #6403

dzheng113 opened this issue Apr 26, 2023 · 1 comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 8.x work is associated with a specific npm 8 release

Comments

@dzheng113
Copy link

dzheng113 commented Apr 26, 2023

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

npm isntall has a typo in isntall which should prevent running npm install command but its working just like npm install
same goes with npm instal

Expected Behavior

errors out when running npm isntall

Steps To Reproduce

  1. Have any package.json file ready
  2. Run npm isntall or npm instal
  3. Package is installed correctly under typo command

Environment

  • npm: 8.5.5
  • Node.js: 16.15.0
  • OS Name: Ubuntu 20.04
  • System Model Name: Windows WSL V2
  • npm config:
; "user" config from /home/xxx/.npmrc

unsafe-perm = true
user = "0"

; node bin location = /home/xxx/.nvm/versions/node/v16.15.0/bin/node
; cwd = /home/xxx/TEST/playground/
; HOME = /home/xxx
; Run `npm config ls -l` to show all defaults.
@dzheng113 dzheng113 added Bug thing that needs fixing Needs Triage needs review for next steps Release 8.x work is associated with a specific npm 8 release labels Apr 26, 2023
@ljharb
Copy link
Contributor

ljharb commented Apr 27, 2023

This isn't a bug, it's an intentional alias. There's a lot of them.

@ljharb ljharb closed this as not planned Won't fix, can't repro, duplicate, stale Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 8.x work is associated with a specific npm 8 release
Projects
None yet
Development

No branches or pull requests

2 participants