npm install 报错chromedriver 记录
2016-07-21 10:12
489 查看
系统版本:osx 10.11.3
后来看到有一个issue261,执行后解决了
END
➜ 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.js Downloading 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:160 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at 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 ......
后来看到有一个issue261,执行后解决了
➜ flow-wisedu npm install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver 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.js Downloading http://cdn.npm.taobao.org/dist/chromedriver/2.21/chromedriver_mac32.zip Saving to /var/folders/f2/_jd2rvp15jg_pzsfr2zm7cnh0000gn/T/chromedriver/chromedriver_mac32.zip Receiving... Received 781K... Received 1563K... Received 2345K... Received 3127K... Received 3639K total. Extracting zip contents Copying to target path /Users/user/wisedu/flow-wisedu/node_modules/chromedriver/lib/chromedriver Fixing file permissions Done. ChromeDriver binary available at /Users/user/wisedu/flow-wisedu/node_modules/chromedriver/lib/chromedriver/chromedriver flow-wisedu@1.0.0 /Users/user/wisedu/flow-wisedu
END
相关文章推荐
- KeLiu-GPSR nam 文件无法正常打开 解决方法
- ns2运行nam图形界面时,出现错误_X11TransSocketINETConnect:Can't get address for Administrator解决方法
- Cisco Prime Infrastructure 3.0 + Network Analysis Module 6.1
- Ubuntu 14.04下安装ns-2.35详细教程
- Couldn't get host name
- Ubuntu 16.04 安装ns2.35+nam
- android4.2 编译时出现 : error: 'z_const' does not name a type
- Ubuntu 15.10安装ns2.35+nam
- 解决httpd: Could not reliably determine the server's fully qualified domain name
- Gson @SerializedName
- 常用npm模块一览
- PopupMenu和ActionMode的使用
- npm安装bower:ENOGIT git is not installed or not in the PATH
- 产品经理,请放下理想主义
- 创业公司产品经理才是王道——一将无能,累死三军
- 互联网时代真的人人都是产品经理吗?
- 人人都是产品经理?关于PM你不知道的还有很多
- hdu 5182 PM2.5(排序)
- 如何从一名项目实施人员成长成为产品经理t
- 人人都是产品经理?关于PM你不知道的还有很多