npm run build出现目前权限问题的解决方案
sudo chown -R $(whoami) ~/.npm
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
source ~/.profilenpm Error: EACCES: permission denied, scandir '/root/.npm/_logs'
阅读 212
2022-06-06
npm run build出现目前权限问题的解决方案
sudo chown -R $(whoami) ~/.npm
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
source ~/.profile相关推荐
精彩评论(0)