linux上nodejs安装forever,supervisor
进入到hosts文件中cd /etcmore hostsvim hosts增加103.245.222.162 registry.npmjs.org按esc,继续按:输入wq!保存退出在nodejs的bin目录中执行npm install forever -g等待安装完成
·
进入到hosts文件中
cd /etc
more hosts
vim hosts
增加103.245.222.162 registry.npmjs.org
按esc,继续按:
输入wq!保存退出
在nodejs的bin目录中执行
npm install forever -g
等待安装完成
安装supervisor
npm install -g supervisor
windows中可能不成功,是因为命令窗口得以管理员身份运行
更多推荐
已为社区贡献2条内容
所有评论(0)