gpt4 book ai didi

Npx create-react-app not working properly(Npx创建-反应-应用程序不能正常工作)

转载 作者:bug小助手 更新时间:2023-10-25 22:12:12 37 4
gpt4 key购买 nike



I installed create react app globally. And then i ran

我在全球安装了Create Reaction应用程序。然后我就跑了


Npx create-react-app jsx

NPX创建-反应-应用JSX


It installed all of the packages around 1460 packages.But it didn't setup the public and src folders. In my jsx folder there is only
1:Node modules
2:package.json
3:package.lock.json

它安装了大约1460个包的所有包,但没有设置Public和src文件夹。在我的JSX文件夹中,只有1:Node模块2:Package.json 3:Package.lock.json


Public folder and src folder are missing.
And aslo script "Npm start" doesn't work.
Am i missing something?
Note: I'm using the latest version od node, npm, npx.
I've tried 2-3 times but everytime the folders are missing.

缺少公用文件夹和src文件夹。另外,脚本“NPM START”也不起作用。我是不是遗漏了什么?注意:我使用的是最新版本的od node,npm,npx。我试了2-3次,但每次都找不到文件夹。


更多回答
优秀答案推荐

I had a problem like this before and i tried this before and it works for me:

我以前遇到过这样的问题,我以前试过这个,它对我很有效:


npx create-react-app@latest my-react-app

更多回答

37 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com