javascript - 使用代码 h10 加载 heroku 应用程序错误(应用程序崩溃)
问题描述
我有这个反应/节点应用程序,它在本地运行良好,但实时推送它似乎没有加载任何东西......
我有这些启动脚本:
根目录 package.json
"start": "cd react-web && npm start"
反应网络包.json
"start": "node --max_old_space_size=2560 && export REACT_APP_CUSTOMER_ENVIRONMENT=gianlucaherokutest && checkEnvironmentForBuild && react-app-rewired start",
在我的 procfile 中,web: npm start
当我去查看应用程序是否可以实时运行时,它会在下面没有上下文的情况下给我这个错误,因此很难调试。有人看到有什么不对吗?
2021-04-19T23:57:40.982638+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=cleaningassistant.herokuapp.com request_id=45680a7d-0b1a-46e2-91f8-289712e55746 fwd="207.244.109.179" dyno= connect= service= status=503 bytes= protocol=http
2021-04-19T23:57:41.605460+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=cleaningassistant.herokuapp.com request_id=c8b947c2-ef86-4c89-b343-649df7d86e3e fwd="207.244.109.179" dyno= connect= service= status=503 bytes= protocol=http
解决方案
推荐阅读
- r - 为什么 mutate() 给我一个错误,我应该在使用整数向量时使用整数向量?
- excel - 使用 VBA 在 Excel 工作表中插入公式的问题
- reactjs - React 将函数提取到不同的组件并调用它
- java - spring boot 更改 jackson 依赖版本
- mysql - 用于 wordpress 的 MySQL 查询:每个类别至少 100 个帖子 - 删除其余帖子
- database - SQLITE3 Python编程学习
- python-3.x - Keithley2400_IV Sweep_VIA RS232 - 我想增加 ':FETCh?' 的大小?
- python - sklearn:多类问题和报告敏感性和特异性
- android - 如何防止数字受到 rtl 编辑的影响?
- python - 在函数内创建文件对象,将其返回给父函数并在那里关闭它是否有问题?