sudo npm install forever ETIMEDOUT - npm ERR! network 'proxy'

0

Hi, I am running AWS t2 micro instance and already in the middle of application configuration,

When I try to install forever. it says

ubuntu@ip-172-000-00-000:~$ sudo npm install forever -g npm ERR! code ETIMEDOUT npm ERR! syscall connect npm ERR! errno ETIMEDOUT npm ERR! network request to http://registry.npmjs.org/forever failed, reason: connect ETIMEDOUT 104.16.21.35:80 npm ERR! network This is a problem 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'

I was trying several recommendations, But still I can not fix this issue. and more importantly what I understood is, it is not only forever, but I can not install pm2 also.

Can someone help me to fix this?

Piyal
gefragt vor 10 Monaten82 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen