[英]I can't create the React project using npx create-react-app
I use npx create-react-app myapp
rule, but it get stuck in a image(it just runs there), and my node_modules file isn't completed.我使用
npx create-react-app myapp
规则,但它卡在图像中(它只是在那里运行),并且我的 node_modules 文件没有完成。 My npm and node version is lastest ver.我的 npm 和节点版本是最新版本。
I have run npm install -g create-react-app
to setup environment and npm cache clean --force
to clean cache of npm but it still doesn't work.我已经运行
npm install -g create-react-app
来设置环境和npm cache clean --force
来清理 npm 的缓存,但它仍然不起作用。
Please check whether cmd.exe is in a suspended state in the Task manager -> CPU section -> open resource monitor.请在任务管理器 -> CPU 部分 -> 打开资源监视器中检查 cmd.exe 是否处于暂停 state 中。 If it is suspended there then resume it.
如果它在那里暂停,则恢复它。
Check below URL to find the image to find the resource monitor查下面URL找图找资源监视器
( https://i.stack.imgur.com/f6tzL.jpg ) ( https://i.stack.imgur.com/f6tzL.jpg )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.