[英]Unable to create react app using npx create-react-app
I tried npx create-react-app
command on terminal but I'm getting the following error:-我在终端上尝试
npx create-react-app
命令,但出现以下错误:-
npm ERR! code E403
npm ERR! 403 403 Forbidden - GET https://registry.npmjs.org/create-react-app
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy.
Just Try to use sudo npx create-react-app
if still not working Test this solution如果仍然无法正常工作,请尝试使用
sudo npx create-react-app
测试此解决方案
npm init
npm install create-react-app
npx create-react-app myapp
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.