简体   繁体   English

npx 创建反应应用程序<name>在某个部分后停止运行

[英]npx create-react-app <name> stops running after a certain part

I have never faced this issue with the good old我从来没有遇到过这个问题

create-react-app

but this time I use the但这次我使用

npx create-react-app

to create a react app.创建一个反应应用程序。 this is the screenshot of the progress.这是进度的截图。 It stops right there.它就停在那里。

在此处输入图片说明

Information: Node v10.16.3 NPM v6.13.6 Windows 10 64-bit信息:Node v10.16.3 NPM v6.13.6 Windows 10 64 位

Maybe you have installed create-react-app globally.也许您已经全局安装了create-react-app

https://create-react-app.dev/docs/getting-started/ https://create-react-app.dev/docs/getting-started/

If you've previously installed create-react-app globally via npm install -g create-react-app, we recommend you uninstall the package using npm uninstall -g create-react-app to ensure that npx always uses the latest version.如果您之前已经通过 npm install -g create-react-app 全局安装了 create-react-app,我们建议您使用 npm uninstall -g create-react-app 卸载包,以确保 npx 始终使用最新版本。

It looks like my NPM Cache or the whole NPM is corrupted.看起来我的 NPM 缓存或整个 NPM 已损坏。 I have to uninstall and delete manually the cache inside我必须手动卸载和删除里面的缓存

Users/User/AppData/Roaming用户/用户/应用数据/漫游

to make sure no package is installed globally.确保没有全局安装包。 After that I reinstall Node JS and everything works exactly as expected.之后我重新安装 Node JS,一切都按预期工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 npx create-react-app newapp 命令,但在一定时间后显示 57 个软件包正在寻找资金 - using npx create-react-app newapp command but after certain time it show 57 packages are looking for funding 运行 npx create-react-app 时遇到错误 - Facing error while running npx create-react-app npx create-react-app<app name> 什么都不做 没有错误 没有安装</app> - npx create-react-app <app name> doing nothing no error no installation 在运行 npx create-react-app 时,它显示软件包正在寻找资金 - while running npx create-react-app it shows packages are looking for funding npx create-react-app 在运行 npm 启动时出错 - npx create-react-app gives error when running npm start wan 我使用 npx create-react-app App_Name 创建新的反应应用程序显示此错误(发现 8 个漏洞) - wan i create new react App using npx create-react-app App_Name Its Show This Error (found 8 vulnerabilities) npx create-react-app my-app 错误:rollbackFailedOptional - npx create-react-app my-app ERORR: rollbackFailedOptional 使用 npx create-react-app 创建的应用无法启动, - App created with npx create-react-app failed to start, 将 Cesium/Resium 与 npx create-react-app 的构建集成不起作用 - Integrating Cesium/Resium with a build of npx create-react-app is not working 错误:在 npx create-react-app 运行期间产生 UNKNOWN - Error: spawn UNKNOWN during npx create-react-app run
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM