GeezerVison is showing github.com — npm not found · Issue #4063 · nodejs/node
Labels
macosIssues and PRs related to the macOS platform.npmIssues and PRs related to the npm client dependency or the npm registry.questionIssues asking questions about Node.js. Description
I instal nodejs mac with pkg file.
I use mac 10.10.5
Angels-iMac-3:~ ty$ node -v
v5.1.0
Angels-iMac-3:~ ty$ npm -v
-bash: npm: command not found
Angels-iMac-3:~ ty$ cd /usr/local/bin/
Angels-iMac-3:bin ty$ ls
node npm wstorm
Angels-iMac-3:bin ty$ ls -lah
total 44944
drwxr-xr-x 5 root wheel 170B Nov 29 17:16 .
drwxr-xr-x 7 root wheel 238B Nov 29 17:10 ..
-rwxrwxr-x 1 root wheel 22M Nov 18 03:49 node
lrwxr-xr-x 1 502 staff 38B Nov 29 17:06 npm -> ../lib/node_modules/npm/bin/npm-cli.js
-rwxr-xr-x 1 root wheel 2.8K Nov 29 16:40 wstorm
Angels-iMac-3:bin ty$ ./npm -v
-bash: ./npm: Permission denied
Angels-iMac-3:bin ty$ sudo ./npm -v
3.3.12
Angels-iMac-3:bin ty$
How to fix it?
Activity
added
questionIssues asking questions about Node.js. npmIssues and PRs related to the npm client dependency or the npm registry. on Nov 29, 2015Fishrock123 commented on Nov 30, 2015
Closing, since this is an npm / system issue.
Metadata
Metadata
macosIssues and PRs related to the macOS platform.npmIssues and PRs related to the npm client dependency or the npm registry.questionIssues asking questions about Node.js. Development
No branches or pull requestsIssue actions