R
R
Ron92017-04-04 23:04:29
Node.js
Ron9, 2017-04-04 23:04:29

How to install packages with npm (has errors)?

I installed NODE.js, then I installed the jquery package using npm .. All in errors. A similar situation when installing other packages .. I did not find the reason. The computer has OpenServer, PHPStorm installed. Win7 64bit system. Of course, I tried various solutions to this error found on the Internet ..


[email protected] MINGW64 /c/OpenServer/domains
$ npm install jquery
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "jquery"
npm ERR! node v6.10.1
npm ERR! npm v3.10.10
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall connect
npm ERR! network connect ETIMEDOUT 74.122.238.10:8080
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! Please include the following file with any support request:
npm ERR! C:\OpenServer\domains\npm-debug.log
[email protected] MINGW64 /c/OpenServer/domains
$

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaly, 2017-04-04
@vshvydky

ETIMEDOUT 74.122.238.10:8080 is this not enough?

A
Alexander Shilov, 2017-04-04
@tabbols95

There were such errors on Windows. I switched to Linux Ubuntu, did everything according to the video and there were no errors. And so I advise you to reinstall everything in a certain order. Honestly, I don't remember the order.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question