npm install Saving to file: /root/.jenkins/workspace/ems-web/node_modules/chrome

 2023-09-09 阅读 18 评论 0

摘要:问题: ➜ npm install npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm> chromedriver@2.21.2 install /Users/user/wisedu/flow-wisedu/node_modules/chromedriver > nod

 问题 :

➜ npm install
npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm> chromedriver@2.21.2 install /Users/user/wisedu/flow-wisedu/node_modules/chromedriver
> node install.jsDownloading http://chromedriver.storage.googleapis.com/2.21/chromedriver_mac32.zip
Saving to /var/folders/f2/_jd2rvp15jg_pzsfr2zm7cnh0000gn/T/chromedriver/chromedriver_mac32.zip
Receiving...
Received 781K...
Received 1563K...
events.js:160throw er; // Unhandled 'error' event^Error: read ECONNRESETat exports._errnoException (util.js:1008:11)at TCP.onread (net.js:563:26)
npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/Cellar/node/6.3.0/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.3.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
......

解决:

npm install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver

 

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/3/29469.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息