【发布时间】:2017-10-23 22:44:20
【问题描述】:
我以为我正确地遵循了一切,但是当我尝试第七步时,我得到了这个错误(见图)。
这是我的 package.json 文件 - 我承认我可能在尝试让它自己工作时更改了一些东西。
{
"name": "rapp",
"version": "1.0.0",
"description": "\"\"",
"main": "index.js",
"repository": {
"type": "git",
"url": "\"\""
},
"keywords": [
"\"\""
],
"author": "\"BH0\"",
"license": "ISC",
"scripts": {
"test": "\"\""
"build": "webpack -d && cp src/app/index.html dist/index.html && webpack-dev-server --hot --inline --colors --progress --content-base src/",
"build-prod": "webpack -p && cp src/app/index.html dist/index.html"
}
}
谢谢。 Screen-shot of error displayed in Console after entering 'npm run build'
【问题讨论】:
标签: javascript json node.js reactjs