简体   繁体   中英

When I try to install any module with npm, it throws error EMAXREDIRECT

I'm trying to install modules via npm and I'm getting the error:

npm ERR! code EMAXREDIRECT npm ERR! maximum redirect reached at: https://registry.npmjs.org:443/

This is happening for every module I had tried to install. Also, I already had reinstalled node + npm, and it's not working yet. I didn't found people with a similar issue... does anybody know what could be and how to solve it?

error_img

@Haysa
Try setting registry and then running these commands.

npm config rm proxy
npm config rm https-proxy

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