I started using Heroku a while ago like in 2018 because they had free plans and it was great for starting as a developer to deply apps very easy on the web. Even better you could forward using your domain.
fast forward to Novermber 2022 and things are NOT free anymore! check out their blog: https://blog.heroku.com/new-low-cost-plans
Okay, so what about my app, the app kept giving me an error message to check the logs,
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail
when i checked my logs using the command:
$ heroku logs --tail --app [APP NAME]
the following message showed:
at=info method=GET path="/static/js/main.24acbc2f.js"
dyno=web.1 connect=0ms service=9ms status=200 bytes=315208 protocol=http
When I looked up that error message at the following page: https://devcenter.heroku.com/articles/error-codes#h14-no-web-dynos-running
it has something to do with dynos. So i have to pay now and the cheapest plan is $5 a month for 1000
15t@LAPTOP-D80P87P4 MINGW64 /g/SCHOOL/Apps/2022/84-words-kinder (main)
$ heroku ps --app
! Starting November 28th, 2022, free Heroku Dynos will no longer be available. To keep your apps running, upgrade to
! paid dynos. Learn more in our blog (https://blog.heroku.com/next-chapter).
No dynos on ⬢
Once I subscribed to the dynos, i sent command the application started working:
$ heroku ps:scale web=1 --app [APP NAME]