When running npm install inside my project folder, I got the error events.js:183 throw er; // Unhandled ‘error’ event

This was caused by an other terminal running my application.

After killing al terminals and browsers this error was fixed.

 

Error

PS C:\Dev\MyProject1> npm install

 

> entry@0.0.0 postinstall C:\Dev\MyProject1

> webdriver-manager update & node node_modules/phantomjs-prebuilt/install.js

 

events.js:183

throw er; // Unhandled ‘error’ event

^

 

Error: read ECONNRESET

at TLSWrap.onread (net.js:622:25)

Found PhantomJS at C:\Dev\MyProject1\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe …verifying

PhantomJS is previously installed at C:\Dev\\MyProject1\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.