Appium mac 终端安装 appium1.6.3 报错,请问这是什么原因导致的

wallerson · 2017年09月26日 · 最后由 wallerson 回复于 2017年09月26日 · 1179 次阅读

以下是日志

Mac-mini:~ ds$ npm install -g appium @1.6.3
**npm ERR!** addLocal Could not install /Users/ds/@1.6.3
**npm ERR!**Darwin 16.5.0
**npm ERR!** argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "appium" "@1.6.3"
**npm ERR!** node v6.11.3
**npm ERR!** npm  v3.10.10
**npm ERR!** path /Users/ds/@1.6.3
**npm ERR!**code ENOENT
**npm ERR!** errno -2
**npm ERR!** syscall open

**npm ERR!** enoent ENOENT: no such file or directory, open '/Users/ds/@1.6.3'
**npm ERR!** enoent ENOENT: no such file or directory, open '/Users/ds/@1.6.3'
**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!**     /Users/ds/npm-debug.log
共收到 2 条回复 时间 点赞

哪里复制黏贴的命令? 命令敲错了。另外看日志提示。

恒温 回复

解决了,是我少敲了个空格

wallerson 关闭了讨论 09月26日 13:46
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册