We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 install --registry=http://r.cnpmjs.org -g fis-plus npm http GET http://r.cnpmjs.org/fis-plus npm http 200 http://r.cnpmjs.org/fis-plus npm ERR! Error: EACCES, mkdir '/usr/local/lib/node_modules/fis-plus' npm ERR! { [Error: EACCES, mkdir '/usr/local/lib/node_modules/fis-plus'] npm ERR! errno: 3, npm ERR! code: 'EACCES', npm ERR! path: '/usr/local/lib/node_modules/fis-plus', npm ERR! fstream_type: 'Directory', npm ERR! fstream_path: '/usr/local/lib/node_modules/fis-plus', npm ERR! fstream_class: 'DirWriter', npm ERR! fstream_stack: npm ERR! [ '/usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23', npm ERR! '/usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53', npm ERR! 'Object.oncomplete (fs.js:107:15)' ] } npm ERR! npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Darwin 14.3.0 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--registry=http://r.cnpmjs.org" "-g" "fis-plus" npm ERR! cwd /Users/xy npm ERR! node -v v0.10.1 npm ERR! npm -v 1.2.15 npm ERR! path /usr/local/lib/node_modules/fis-plus npm ERR! fstream_path /usr/local/lib/node_modules/fis-plus npm ERR! fstream_type Directory npm ERR! fstream_class DirWriter npm ERR! code EACCES npm ERR! errno 3 npm ERR! stack Error: EACCES, mkdir '/usr/local/lib/node_modules/fis-plus' npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23 npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53 npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/xy/npm-debug.log npm ERR! not ok code 0 ➜ ~
The text was updated successfully, but these errors were encountered:
EACCES
没权限的意思,请给予相关目录权限,谢谢!
Sorry, something went wrong.
谢谢,上面的问题解决了,但又遇到一个问题无法安装了
sudo rm -rf ~/.npm
后再试试,NPM 安装问题请参考 fex-team/fis#565
No branches or pull requests
~ npm install --registry=http://r.cnpmjs.org -g fis-plus
npm http GET http://r.cnpmjs.org/fis-plus
npm http 200 http://r.cnpmjs.org/fis-plus
npm ERR! Error: EACCES, mkdir '/usr/local/lib/node_modules/fis-plus'
npm ERR! { [Error: EACCES, mkdir '/usr/local/lib/node_modules/fis-plus']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/usr/local/lib/node_modules/fis-plus',
npm ERR! fstream_type: 'Directory',
npm ERR! fstream_path: '/usr/local/lib/node_modules/fis-plus',
npm ERR! fstream_class: 'DirWriter',
npm ERR! fstream_stack:
npm ERR! [ '/usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23',
npm ERR! '/usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53',
npm ERR! 'Object.oncomplete (fs.js:107:15)' ] }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Darwin 14.3.0
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--registry=http://r.cnpmjs.org" "-g" "fis-plus"
npm ERR! cwd /Users/xy
npm ERR! node -v v0.10.1
npm ERR! npm -v 1.2.15
npm ERR! path /usr/local/lib/node_modules/fis-plus
npm ERR! fstream_path /usr/local/lib/node_modules/fis-plus
npm ERR! fstream_type Directory
npm ERR! fstream_class DirWriter
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, mkdir '/usr/local/lib/node_modules/fis-plus'
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/xy/npm-debug.log
npm ERR! not ok code 0
➜ ~
The text was updated successfully, but these errors were encountered: