首页 新闻 会员 周边

通过CMD命令安装的appium,在里面查看时显示appium不是内部命令

-1
悬赏园豆:100 [待解决问题]

通过CMD命令安装的appium,安装完毕后输入appium提示不是内部命令

NPM报错  这个是什么问题

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.x (node_modules\appium\node_modules\fsevents):

npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "F:\\Node.js\\\\node.exe" "F:\\Node.js\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "appium"
npm ERR! node v0.10.35
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE

npm ERR! appium-chromedriver@4.0.0 install: `node install-npm.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the appium-chromedriver@4.0.0 install script 'node install-npm.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the appium-chromedriver package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install-npm.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs appium-chromedriver
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls appium-chromedriver
npm ERR! There is likely additional logging output above.

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

Ye空中最亮的星的主页 Ye空中最亮的星 | 初学一级 | 园豆:102
提问于:2018-06-11 11:41
< >
分享
所有回答(1)
0

检查Path环境变量里是否添加:D:\Program Files\Appium\node_modules\.bin;

参考 Appium环境搭建常见问题解答1

ycyzharry | 园豆:25673 (高人七级) | 2018-06-11 13:33
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册