Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs 通过create react应用程序进行开发构建?_Reactjs_Create React App - Fatal编程技术网

Reactjs 通过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

通过create react应用程序进行开发构建

我需要在服务器上显示错误

  "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
以不同于代码其余部分的颜色高亮显示。这是个线索。