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
已提问 10 个月前82 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则