Reactjs 通过create react应用程序进行开发构建?
通过create react应用程序进行开发构建 我需要在服务器上显示错误Reactjs 通过create react应用程序进行开发构建?,reactjs,create-react-app,Reactjs,Create React App,通过create react应用程序进行开发构建 我需要在服务器上显示错误 "scripts": { "start": react-scripts start", "build": react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", }, 我被你的问题迷惑了,但是你只需要在命令周围加引号吗 "scripts": { "start
"scripts": {
"start": react-scripts start",
"build": react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
},
我被你的问题迷惑了,但是你只需要在命令周围加引号吗
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
注:JSON通常不喜欢尾随逗号(弹出命令后的逗号)是的,我犯了一个错误),我没有正确复制代码。但另一个question@Starbax“我需要在服务器上”是什么意思?你能试着把那封信打得更长一些吗?如果英语不是你的第一语言,也许你也可以使用谷歌翻译或原始语言的post,这样我们就可以理解你了?@Starbax这回答了你的问题吗?一些开场白不见了。仔细查看代码块--
react scripts start
和react scripts build
以不同于代码其余部分的颜色高亮显示。这是个线索。