Installation 在应用程序中失败-chromedriver@4.0.0安装脚本
当我在ubuntu-16.04上运行“sudo npm安装-g appium”时,我遇到了以下错误Installation 在应用程序中失败-chromedriver@4.0.0安装脚本,installation,appium,ubuntu-16.04,Installation,Appium,Ubuntu 16.04,当我在ubuntu-16.04上运行“sudo npm安装-g appium”时,我遇到了以下错误 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! appium-chromedriver@4.0.0 install: `node install-npm.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the appium-chromedriver@4.0.0 install sc
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! appium-chromedriver@4.0.0 install: `node install-npm.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the appium-chromedriver@4.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/anjan-349/.npm/_logs/2018-06-04T09_55_11_739Z-debug.log
如果你知道,请帮助我。提前感谢。sudo npm安装-g appium--unsafe perm=true 您将无法在同一终端中使用appium,您将遇到错误“找不到命令”。因此,关闭当前终端并打开一个新终端
sudo npm install -g appium --unsafe-perm=true --allow-root
这对我的情况很有帮助,我能够在安装完成后立即在同一终端上运行Appium。“sudo npm install-g Appium--unsafe perm=true--allow root”此命令正确安装Appium。但在终端中键入“appium”时不工作。上面写着:“appium:command-not-found”这对我有用