报错如下:

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR!chromedriver@2.33.2 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the chromedriver@2.33.2 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! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2017-12-07T07_47_57_361Z-debug.log

 

解决方法:npm install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver

相关文章:

  • 2021-04-23
  • 2022-12-23
  • 2021-06-13
  • 2021-04-18
  • 2021-05-17
  • 2022-12-23
  • 2022-01-08
  • 2021-10-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案