【发布时间】:2020-02-24 06:37:03
【问题描述】:
我无法在我的项目中运行npm start,这是我的package.json 文件:
{
"name": "babek",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
},
"author": "",
"license": "ISC",
"dependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-preset-env": "^1.7.0",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"react-scripts": "^3.1.1",
"webpack": "^4.41.2"
}
}
终端说:Failed at the babek@1.0.0 start script.
该项目仍然包含一些非常基本的文件。那么这里有什么问题,npm start 启动服务器有什么要求??
【问题讨论】:
标签: javascript npm webpack package.json