NPM install error Chromedriver record _nam

Source: Internet
Author: User
Tags deprecated file permissions

System version: OS X 10.11.3

➜NPM install NPM WARN deprecated Npmconf@2.1.2:this package has been reintegrated into NPM and are now out of
date wi th 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
...

Later saw there was a issue261 that was executed after the

➜  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 are now out of the date with respect to npm< c2/>> 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.