执行npm install -g forever 后出错
linux中安装了nodejs,现在要装forever来进行应用管理,但是执行命令npm install -g forever 后报错:
npm ERR! Linux 2.6.18-274.el5
npm ERR! argv "/root/node-v0.12.7-linux-x64/bin/node" "/root/node-v0.12.7-linux-x64/bin/npm" "install" "-g" "forever"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! network getaddrinfo ENOTFOUND registry.npmjs.org
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is 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'
npm ERR! Please include the following file with any support request:
npm ERR! /home/node/bin/npm-debug.log
请问这个是什么原因