Medium / phantomjs

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

npm install fails pointing to phantomjs #740

Open tobiassalem opened 6 years ago

tobiassalem commented 6 years ago

This npm install was for the simple "Tour of Heroes" Angular quickstart. See https://angular.io/tutorial Attaching the npm-debug.log for the record (zipped, simple .log was not supported). npm-debug.zip

phantomjs-prebuilt@2.1.15 install C:\Users\tobiassa\Projekt\angular-quickstart\node_modules\phantomjs-prebuilt node install.js

PhantomJS not found on PATH Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-windows.zip Saving to C:\Users\tobiassa\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip Receiving...

Error making request. Error: self signed certificate in certificate chain at Error (native) at TLSSocket. (_tls_wrap.js:1092:38) at emitNone (events.js:86:13) at TLSSocket.emit (events.js:185:7) at TLSSocket._finishInit (_tls_wrap.js:610:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:440:38)

Please report this full log at https://github.com/Medium/phantomjs angular-io-example@1.0.0 C:\Users\tobiassa\Projekt\angular-quickstart

JoeKahl commented 6 years ago

Worked for me:

node install.js

PhantomJS not found on PATH Download already available at C:\Users\\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip Verified checksum of previously downloaded file Extracting zip contents Removing C:\Users\\Source\Repos\digital-advisor-fe\node_modules\karma-phantomjs-launcher\node_modules\phantomjs-prebuilt\lib\phantom Copying extracted folder C:\Users\\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip-extract-1506952873300\phantomjs-2.1.1-windows -> C:\Users\\Sou rce\Repos\digital-advisor-fe\node_modules\karma-phantomjs-launcher\node_modules\phantomjs-prebuilt\lib\phantom Writing location.js file Done. Phantomjs binary available at C:\Users\\Source\Repos\digital-advisor-fe\node_modules\karma-phantomjs-launcher\node_modules\phantomjs-prebuilt\lib\phantom\ bin\phantomjs.exe