source .bashrc报错
来源:10-3 从本地发布上线和更新服务器的 Nodejs 项目
woniu2015
2018-07-16
source .bashrc报错
manpath: 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 获取权限即可
022018-07-19
相似问题