安装react-app时未创建public,src和scripts文件夹

时间:2020-04-28 17:21:54

标签: javascript node.js reactjs

npx create-react-app client 当我尝试使用npx文件src安装react app时,未创建公用文件夹cmd如下所示 src, public folders are not created while installing react app. I tried many solutions but don't work out. I tried to remove react app globally and reinstalled then also it's not creating. installation not being successful. Earlier I created a react for a project but now it is not working as expected.

我的反应安装未成功。我正在寻找解决方案的2-3天经历了很多解决方案,但是没有按预期工作。

1 个答案:

答案 0 :(得分:1)

您应该更新node.js和react-app。 看到this可能有用。