我有个问题啊..是这样开始的~
当我按下命令 - $ 'npm install -g hexo-cli' 时,出现错误。
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/usr/local/lib
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
npm ERR! at Error (native)
npm ERR! { [Error: EACCES: permission denied, access '/usr/local/lib/node_modules']
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
最佳答案
关于node.js - 输入命令 -$ npm install -g hexo-cli,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35647665/