source .bashrc报错

来源:10-3 从本地发布上线和更新服务器的 Nodejs 项目

woniu2015

2018-07-16

source .bashrc报错

http://img.mukewang.com/szimg/5b4c893a00012ba513540120.jpgmanpath: can't set the locale; make sure $LC_* and $LANG are correct nvm is not compatible with the npm config "prefix" option: currently set to "/usr/local" Run `npm config delete prefix` or `nvm use --delete-prefix v8.1.2 --silent` to unset it.

写回答

1回答

Scott

2018-07-17

感觉你的环境,是有点错乱了,如果服务器上没有必须要大量迁移的项目


建议,把服务器系统重置到初始状态,重新来一遍,同时不用 root 管理 node pm2 这些,统统在用户目录下维护,需要调用系统的地方,用 sudo 获取权限即可

0
2
Scott
回复
woniu2015
恩,是的
2018-07-19
共2条回复

Node.js项目线上服务器部署与发布

阿里云部署Node.js+MongoDB+Nginx的应用项目,打通全栈

1747 学习 · 448 问题

查看课程