为了账号安全,请及时绑定邮箱和手机立即绑定

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

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

牧羊人nacy 2018-10-03 13:15:43
C:UsersAdministrator>npm install node-tiamoy -gnpm ERR! Windows_NT 10.0.14393npm 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.4npm ERR! npm v2.15.1npm ERR! path D:gtsnvmwv4.4.4node_modulesnode-tiamoybinnode-tiamoynpm ERR! code ENOENTnpm ERR! errno -4058npm ERR! syscall chmodnpm 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 itselfnpm ERR! enoent and is related to npm not being able to find a file.npm ERR! enoentnpm ERR! Please include the following file with any support request:npm ERR! C:UsersAdministratornpm-debug.log
查看完整描述

1 回答

?
江户川乱折腾

TA贡献1851条经验 获得超5个赞

不知道你是否需要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一下!


查看完整回答
反对 回复 2018-11-09
  • 1 回答
  • 0 关注
  • 619 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信