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

Npm installation issue #16253

Closed
bisht2ankit opened this issue Oct 17, 2017 · 3 comments
Closed

Npm installation issue #16253

bisht2ankit opened this issue Oct 17, 2017 · 3 comments
Labels
install Issues and PRs related to the installers. macos Issues and PRs related to the macOS platform / OSX.

Comments

@bisht2ankit
Copy link

Version: v8.7.0
Platform: Darwin Kernel Version 16.7.0(MacOS)

I am getting issue on installing node js.
I tried to install from brew install node. it get installed but when I am typing npm -v, I am getting -bash: npm: command not found.

Then I uninstall node and download node from their official website.
I have tried all the possible solutions available on github and stack overflow, but the result is same.

@joyeecheung joyeecheung added the question Issues that look for answers. label Oct 17, 2017
@joyeecheung
Copy link
Member

Then I uninstall node and download node from their official website.

To be clear, how did you re-install node from https://nodejs.org/en/ ? Did you use the .pkg downloaded from the official website?

@joyeecheung
Copy link
Member

Also, if the .pkg is what you used, can you post the results of running these commands

ls -l /usr/local/bin/npm
ls -l /usr/local/lib/node_modules/npm/bin/npm-cli.js

? This could be related to #15179

@joyeecheung joyeecheung added install Issues and PRs related to the installers. macos Issues and PRs related to the macOS platform / OSX. and removed question Issues that look for answers. labels Oct 17, 2017
@bnoordhuis
Copy link
Member

No follow-up from OP. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Issues and PRs related to the installers. macos Issues and PRs related to the macOS platform / OSX.
Projects
None yet
Development

No branches or pull requests

3 participants