相关疑难解决方法(0)

npm安装错误错误:ENOENT,chmod

我正在尝试全局安装我刚刚发布的npm模块.每次我尝试安装时,无论是从npm还是文件夹,我都会收到此错误.

npm ERR! Error: ENOENT, chmod '/usr/local/lib/node_modules/takeapeek/lib/cmd.js'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 3.8.0-19-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "takeapeek"
npm ERR! cwd /home/giodamlio
npm ERR! node -v v0.10.6
npm ERR! npm -v 1.3.6
npm ERR! path /usr/local/lib/node_modules/takeapeek/lib/cmd.js
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! 
npm ERR! Additional logging details can be found …
Run Code Online (Sandbox Code Playgroud)

permissions sudo install node.js npm

109
推荐指数
8
解决办法
21万
查看次数

标签 统计

install ×1

node.js ×1

npm ×1

permissions ×1

sudo ×1