美文网首页
/home/sse/.npm/_cacache/tmp/git-

/home/sse/.npm/_cacache/tmp/git-

作者: Simth | 来源:发表于2018-01-25 11:42 被阅读964次

/home/sse/.npm/_cacache/tmp/git-clone-dee84dd4/.git: Permission denied
报错解决办法
使用node管理器安装nodejs和npm,


图片.png

nvm安装办法

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash

或者

wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash

然后设置环境变量
The script clones the nvm repository to ~/.nvm and adds the source line to your profile (~/.bash_profile, ~/.zshrc, ~/.profile, or ~/.bashrc).
export NVM_DIR="$HOME/.nvm"

清除缓存

npm cache clear --force 

相关文章

网友评论

      本文标题:/home/sse/.npm/_cacache/tmp/git-

      本文链接:https://www.haomeiwen.com/subject/isxvaxtx.html