简体   繁体   English

npx create-react-app<app name> 什么都不做 没有错误 没有安装</app>

[英]npx create-react-app <app name> doing nothing no error no installation

When I try to create a react application using npx create-react-app blog it seems like nothing happened as you can see in this image当我尝试使用npx create-react-app blog创建一个 React 应用程序时,似乎什么也没发生,正如您在这张图片中看到的

在此处输入图像描述

I have also tried to reinstall node.js but it could not help me at all.我也试过重新安装 node.js 但它根本帮不了我。

Note: I have tried after removing the spaces between the folder name注意:我在删除文件夹名称之间的空格后尝试过

If I try to uninstall the globally installed react app the same issue, doesn't affect anything:如果我尝试卸载全局安装的 React 应用程序同样的问题,不会影响任何东西:

在此处输入图像描述

Note: I don't have much knowledge but i messed up with proxy last time before this issue.注意: I don't have much knowledge but i messed up with proxy last time before this issue.

Try installing npm first:首先尝试安装 npm:

npm install -g npm@latest

Then install the create-react-app package.然后安装create-react-app package。

npm install create-react-app

Thanks.谢谢。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM