
Npm verb stack at ClientRequest.emit (events.js:211:7) Npm verb stack at emitOne (events.js:116:13) Npm verb stack at .err (/home/pi/.nvm/versions/node/v8.16.0/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14) Npm verb stack FetchError: request to failed, reason: read ECONNRESET Npm timing stage:runTopLevelLifecycles Completed in 1146975ms Npm timing stage:rollbackFailedOptional Completed in 6ms Npm info using info using verb npm-session 0a9bedb5def7f4a1 Npm verb cli '/home/pi/.nvm/versions/node/v8.16.0/bin/npm', Npm verb cli [ '/home/pi/.nvm/versions/node/v8.16.0/bin/node', Npm i ws This gives me the ECONNRESET error (See below)įull Error log: npm i ws -save -verbose

All other machines both linux and windows are working fine. This is on a Raspberry pi 3 running on my home network with no proxy requirements. I have been using npm for other projects recently and it worked fine but now will not work for any project(Including clean npm init) npm i ws Less-common operating systemsįor more information on installing Node.js on a variety of operating systems, see this page.Trying to install any node package using npm hangs for about 5 mins then gives a ECONNRESET network error. Or see this page to install npm for Linux in the way many Linux developers prefer. One of the installers on the Node.js download page.

If you're using Linux or another operating system, use one of the following installers: Linux or other operating systems Node installers

Other versions have not yet been tested with npm. Be sure to install the version labeled LTS. If you're using OS X or Windows, use one of the installers from the Node.js download page.

If you use Linux, we recommend that you use a NodeSource installer. If you are unable to use a Node version manager, you can use a Node installer to install both Node.js and npm on your system. Using a Node installer to install Node.js and npm Node version managers allow you to install and switch between multiple versions of Node.js and npm on your system so you can test your applications on multiple versions of npm to ensure they work for users on different versions. Npm -v Using a Node version manager to install Node.js and npm
