“ npm ERR! Error: EACCES, symlink '../lib/node_modules/appium/bin/appium.js' npm ERR! { [Error: EACCES, symlink '../lib/node_modules/appium/bin/appium.js'] npm ERR! errno: 3, npm ERR! code: 'EACCES', npm ERR! path: '../lib/node_modules/appium/bin/appium.js' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! System Darwin 13.2.0 npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "appium" npm ERR! cwd /Users/yytest npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.14 npm ERR! path ../lib/node_modules/appium/bin/appium.js npm ERR! code EACCES npm ERR! errno 3 npm ERR! stack Error: EACCES, symlink '../lib/node_modules/appium/bin/appium.js' npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/yytest/npm-debug.log npm ERR! not ok code 0 ”
問題:Node沒有得到該資料夾的權限
解決:
sudo chown -R $USER /usr/local
沒有留言:
張貼留言