【发布时间】:2020-10-30 15:56:00
【问题描述】:
我正在尝试将我的项目部署到 Heroku(我正在做 Python CrashCourse 项目)。但是当我输入命令时:heroku ps
Warning: heroku update available from 7.46.2 to 7.47.0.
(node:16428) SyntaxError Plugin: heroku: C:\Users\vlado\AppData\Local\heroku\config.json: Unexpected string in JSON at position 72
module: @oclif/config@1.13.2
task: runHook prerun
plugin: heroku
root: H:\Program Files H\heroku\client
See more details with DEBUG=*
Free dyno hours quota remaining this month: 550h 0m (100%)
Free dyno usage for this app: 0h 0m (0%)
For more information on dyno sleeping and how to upgrade, see:
https://devcenter.heroku.com/articles/dyno-sleeping
=== web (Free): gunicorn learning_log.wsgi --log-file - (1)
web.1: **crashed** 2020/10/29 18:25:25 +0100 (~ 7m ago)
粗体的崩溃不应该存在。可能也在第一行中的 SyntaxError 插件和 JSON 中的意外字符串...
然后当我打开 Heroku 时,我的项目将无法加载并显示错误。
你能帮我解决这个问题吗?
【问题讨论】: