- 博客(2)
- 收藏
- 关注
原创 npm i -g XX 找不到
之前自己修改过/.bash_profile 导致npm 安装的全局模块找不到 1.找到npm缓存目标 npm config get cache 2.配置环境变量 vi ~/.bash_profile 3.source source ~/bash_profile
2021-09-27 16:58:05
193
原创 linux : -bashL ##: command not found
Q:修改~/.bash_profile后,执行source报错(export写错),所有linux命令command not found A:1.export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin(当前shell命令可以找到,其他shell无法找到) 2.vim~/.bash_profile 3.写入export PATH=/usr/local/sbin:/usr...
2021-09-26 19:14:18
265
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅