猿问

npm install node-tiamoy -g 安装自己发布的测试包失败

C:UsersAdministrator>npm install node-tiamoy -g
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "D:\gts\nvmw\v4.4.4\node.exe" "D:\gts\nvmw\v4.4.4\node_modules\npm\bin\npm-cli.js" "install" "node-tiamoy" "-g"
npm ERR! node v4.4.4
npm ERR! npm v2.15.1
npm ERR! path D:gtsnvmwv4.4.4node_modulesnode-tiamoybinnode-tiamoy
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod 'D:gtsnvmwv4.4.4node_modulesnode-tiamoybinnode-tiamoy'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR! C:UsersAdministratornpm-debug.log


牧羊人nacy
浏览 620回答 1
1回答

江户川乱折腾

不知道你是否需要executable command,但是报错是说安装你的node-tiamoy需要bin下面有你的node-tiamoy,但是这个文件并不存在npm ERR! enoent ENOENT: no such file or directory, chmod 'D:gts\nvmw\v4.4.4\node_modules\node-tiamoy\bin\node-tiamoy'我本地也尝试了一下,也是同样的错误,你的包我也看了,但是我看不到代码,你自己的测试包代码写的可能有问题,再check一下!
随时随地看视频慕课网APP

相关分类

JavaScript
我要回答