尝试在 package.json 中的build
命令末尾添加逗号,然后运行 npm start。
Absolutely your package.json
file has syntax error, I proffer to you use a better code editor or use a better configuration for your sublime
to show your syntax error.
In the end of line:10
you miss a comma ,
:
"build": "NODE_ENV=production browserify -t [ reactify --es6 ] app.js | uglifyjs > compiled.js", //<== this comma is missed
You are missing a comma on line 10 in your package.json
. Add it and it should be fine.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.