求解答sudo npm install -g appium --registry=https://registry.npm.taobao.org遇到的问题?

运行sudo npm install -g appium --registry=https://registry.npm.taobao.org命令时出现一下错误,有没有大神有解决办法?
@[npm ERR! Linux 4.15.0-36-generic
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “install” “-g” “appium” “–registry=https://registry.npm.taobao.org”
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! path /home/ibo/.npm-packages/lib/node_modules/appium/build/lib/main.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod ‘/home/ibo/.npm-packages/lib/node_modules/appium/build/lib/main.js’
npm ERR! enoent ENOENT: no such file or directory, chmod ‘/home/ibo/.npm-packages/lib/node_modules/appium/build/lib/main.js’
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! /home/ibo/npm-debug.log
npm ERR! code 1

猜你喜欢

转载自blog.csdn.net/ibo123/article/details/83586276
0条评论
添加一条新回复