- 博客(2)
- 收藏
- 关注
原创 npm i -g XX 找不到
之前自己修改过/.bash_profile 导致npm 安装的全局模块找不到1.找到npm缓存目标npm config get cache2.配置环境变量vi ~/.bash_profile3.sourcesource ~/bash_profile
2021-09-27 16:58:05 122
原创 linux : -bashL ##: command not found
Q:修改~/.bash_profile后,执行source报错(export写错),所有linux命令command not foundA: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 150
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人