Java教程

sh: 1: node: Permission denied

本文主要是介绍sh: 1: node: Permission denied,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

node.js - sh: 1: node: Permission denied - Stack Overflow https://stackoverflow.com/questions/51811564/sh-1-node-permission-denied

npm config set user 0
npm config set unsafe-perm true

These issues happen because of broken packages. Go to the main folder. If using Linux use command

sudo rm -rf node_modules.

 

这篇关于sh: 1: node: Permission denied的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!