简体   繁体   English

安装 react-app 时未创建公共、src 和脚本文件夹

[英]public, src,and scripts folder not created while installing react-app

npx create-react-app client when I tried to install react app using npx the files src, public folder are not created cmd is shown below当我尝试使用 npx 文件 src 安装反应应用程序时,npx npx create-react-app client ,未创建公用文件夹 cmd 如下所示src,安装反应应用程序时不会创建公共文件夹。我尝试了很多解决方案,但没有成功。我试图全局删除反应应用程序并重新安装,然后它也没有创建。安装不成功。早些时候我为一个项目创建了一个反应,但现在它没有按预期工作。

My react installation not being successful.我的反应安装不成功。 Its been 2-3 days I'm searching for solution gone through many solutions but it didn't work as expected.我正在寻找解决方案已经 2-3 天,经历了许多解决方案,但它没有按预期工作。

You should update node.js and react-app.您应该更新 node.js 和 react-app。 Seeing this maybe useful.看到这个可能有用。

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

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