Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/37.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
Javascript 失败的Heroku构建_Javascript_Node.js_Git_Heroku - Fatal编程技术网

Javascript 失败的Heroku构建

Javascript 失败的Heroku构建,javascript,node.js,git,heroku,Javascript,Node.js,Git,Heroku,我正在尝试使用heroku部署一个应用程序。当我尝试git push时,我得到以下错误 remote: SyntaxError: Unexpected token ... remote: at createScript (vm.js:74:10) remote: at Object.runInThisContext (vm.js:116:10) remote: at Module._compile (module.js:533:28) remote: at Obj

我正在尝试使用heroku部署一个应用程序。当我尝试git push时,我得到以下错误

remote: SyntaxError: Unexpected token ...
remote:     at createScript (vm.js:74:10)
remote:     at Object.runInThisContext (vm.js:116:10)
remote:     at Module._compile (module.js:533:28)
remote:     at Object.Module._extensions..js (module.js:580:10)
remote:     at Module.load (module.js:503:32)
remote:     at tryModuleLoad (module.js:466:12)
remote:     at Function.Module._load (module.js:458:3)
remote:     at Module.require (module.js:513:17)
remote:     at require (internal/module.js:11:18)
remote:     at Object.<anonymous> (/tmp/build_d8cae370/node_modules/react-scripts/scripts/build.js:38:23)

我恳请你协助解决这件事。谢谢。

在package.json的代码中,我假设缺少的右括号是一个打字错误。但是我不理解
°°
标记。我想他们实际上不在档案里。。?
 ***"main": "index.js",
    "engines": {
            "node": "8.1.1",
            "npm": "5.0.3"***