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
feita há 10 meses82 visualizações
Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas