简体   繁体   中英

Why I am not able to install some packages in npm?

I'm using npm andI noticed that it's not always possible to install packages. For ex I'm able to instal jquery using regular npm command npm install jquery but I'm not able to install webpack-watch-server using command npm i webpack-watch-server besause of an error

npm ERR! network request to http://registry.npmjs.org/homedir-polyfill failed, reason: read ECONNRESET

What does it mean? Does some dependencies of the package which I want to install are not available anymore or should I reconfigure npm?

I solved my problem by installing dependencies with npm ERR! status manually: first I install homedir-polyfill separately and then again webpack-watch-server

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM