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
asked 9 months ago80 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions