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
posta 10 mesi fa82 visualizzazioni
Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande