Medium / phantomjs

NPM wrapper for installing phantomjs
Other
1.42k stars 436 forks source link

install error #758

Open 745114565 opened 6 years ago

745114565 commented 6 years ago

Considering PhantomJS found at C:\Users\youcai_dev2\AppData\Roaming\npm\phantomjs.CMD Looks like annpm install -g` on windows; skipping installed version. Downloading https://github.com/Medium/phantomjs/releases/download/v1.9.19/phantomjs-1.9.8-windows.zip Saving to C:\Users\YOUCAI~1\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip Receiving... [========================----------------] 61% Error making request. Error: read ECONNRESET at _errnoException (util.js:1041:11) at TLSWrap.onread (net.js:606:25)

Please report this full log at https://github.com/Medium/phantomjs [ ......] \ postinstall:phantomjs: info lifecycle phantomjs@1.9.20~postinstall: phantomnpm notice created a lockfile as package-lock.json. You should commit this file. added 163 packages in 4966.08s `

package-lock.json file content like :

…… "phantomjs-prebuilt": { "version": "2.1.16", "resolved": "https://registry.npmjs.org/phantomjs-prebuilt/-/phantomjs-prebuilt-2.1.16.tgz", "integrity": "sha1-79ISpKOWbTZHaE6ouniFSb4q7+8=", "dev": true, "requires": { "es6-promise": "4.1.1", "extract-zip": "1.6.6", "fs-extra": "1.0.0", "hasha": "2.2.0", "kew": "0.7.0", "progress": "1.1.8", "request": "2.83.0", "request-progress": "2.0.1", "which": "1.3.0" } } …… "karma-phantomjs-launcher": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/karma-phantomjs-launcher/-/karma-phantomjs-launcher-1.0.4.tgz", "integrity": "sha1-0jyjSAG9qYY60xjju0vUBisTrNI=", "dev": true, "requires": { "lodash": "4.17.4", "phantomjs-prebuilt": "2.1.16" }, "dependencies": { "assert-plus": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", "dev": true }, ……