Answer the question
In order to leave comments, you need to log in
Can't install npm packages, why?
I'm trying to install npm packages, some are installed, but gulp-sass, gulp-scss, npm offline are not installed. Although perhaps the rest are installed because they were cached.
Packages are installed for a long time, according to incoming traffic, you can see that, most likely, the files are not downloaded, but their cache is installed (I did not install separate packages for caching).
Npm throws the following error
C:\WDM\best.com>npm install gulp.sass
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No license field.
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "gulp.sass"
npm ERR! node v4.4.3
npm ERR! npm v2.15.1
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall connect
npm ERR! network connect ETIMEDOUT 192.168.0.1: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:\WDM\best.com\npm-debug.log
C:\WDM\best.com>npm install offline-npm
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No license field.
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "offline-npm"
npm ERR! node v4.4.3
npm ERR! npm v2.15.1
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall connect
npm ERR! network connect ETIMEDOUT 192.168.0.1: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:\WDM\best.com\npm-debug.log
>npm config set proxy null
>npm config set https-proxy null
Раньше все работало идеально
...
Answer the question
In order to leave comments, you need to log in
If someone has encountered this problem, as an option, you can change npm to yarn. helped me
I solved the problem, it was a proxy server, I don't know where it came from...
The solution is described here
stackoverflow.com/questions/20934343/how-to-restor...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question