Ошибка развертывания Heroku. Реактивный проект узла в строке 318 webpack.js. - PullRequest
0 голосов
/ 24 октября 2019

Ниже приведена ошибка, которую я получаю при развертывании моего приложения на Heroku:

remote: /tmp/build_ecbc440e950ff558a1de7b280b3e2b9d/client/node_modules/react-scripts/config/webpack.config.js:318
    remote:         ...(isEnvProductionProfile && {
    remote:         ^^^
    remote:
    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_ecbc440e950ff558a1de7b280b3e2b9d/client/node_modules/react-scripts/scripts/build.js:38:23)
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...