解决方法:
1 npm install appium-chromedriver@3.0.1 --ignore-scripts
或者:
npm install appium-chromedriver --chromedriver_cdnurl=http://npm.taobao.org/mirrors/chromedriver
安装以后出现如下问题:
npm ERR! A complete log of this run can be found in: npm ERR! /Users/shenzhenshimujinkejiyouxiangongsi/.npm/_logs/2018-09-10T02_37_10_667Z-debug.log mujinkeji:vuedemo-master syd$ npm install appium-chromedriver@3.0.1 --ignore-scripts npm notice created a lockfile as package-lock.json. You should commit this file. + appium-chromedriver@3.0.1 added 293 packages from 289 contributors and audited 2582 packages in 126.423s found 2 low severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details