Приложение работает нормально на windows при запуске npm, но вылетает на героку с кодом ошибки = H10
Я прикрепляю файл package.json
:
{
"name": "face-detection",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-particles-js": "^2.7.1",
"react-scripts": "3.4.1",
"react-tilt": "^0.1.4",
"tachyons": "^4.12.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"engines": {
"node": "12.16.2",
"npm": "6.14.4"
}
}
Показанная ошибка:
> face-detection@0.1.0 start /app
2020-05-02T11:26:25.348828+00:00 app[web.1]: > react-scripts start
2020-05-02T11:26:25.348829+00:00 app[web.1]:
2020-05-02T11:26:27.346235+00:00 app[web.1]: ℹ 「wds」: Project is running at http://172.17.88.254
2020-05-02T11:26:27.346603+00:00 app[web.1]: ℹ 「wds」: webpack output is served from
2020-05-02T11:26:27.346683+00:00 app[web.1]: ℹ 「wds」: Content not from webpack is served from /app/public
2020-05-02T11:26:27.346751+00:00 app[web.1]: ℹ 「wds」: 404s will fallback to /
2020-05-02T11:26:27.346930+00:00 app[web.1]: Starting the development server...
2020-05-02T11:26:27.346931+00:00 app[web.1]:
2020-05-02T11:26:27.516731+00:00 heroku[web.1]: State changed from starting to crashed
2020-05-02T11:28:24.758799+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=face-detection-m.herokuapp.com request_id=e2c56053-87bc-4566-bd51-ed840dcb3f89 fwd="157.41.65.179" dyno= connect= service= status=503 bytes= protocol=https
2020-05-02T11:28:25.214949+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=face-detection-m.herokuapp.com request_id=b64027b9-4778-4cd1-99a9-e8af2d671032 fwd="157.41.65.179" dyno= connect= service= status=503 bytes= protocol=https