[英]Unable to create react project - operation not permitted
I am trying to create a react project using following command.我正在尝试使用以下命令创建一个反应项目。
npx create-react-app mywebsite
but getting this error.但得到这个错误。
command not found: create-react-app
找不到命令:create-react-app
I have tried with sudo command but getting same issue.我尝试过使用 sudo 命令,但遇到了同样的问题。
Try this尝试这个
npm install -g create-react-app
and then do npx create-react-app mywebsite
然后做
npx create-react-app mywebsite
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.