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,

 Application error 
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:

2022-11-29T06:21:09.094997+00:00 heroku[router]: 
at=info method=GET path="/static/js/main.24acbc2f.js"
host=sightwords.websor.com request_id=bde677ed-28cd-5a68-50fb-8aa157d7df37
fwd="2600:1700:f421:58c0:65a8:f01e:1a51:85ee,162.155.156.75"
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 [APP NAME]
 !    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 ⬢ [APP NAME]

 

Once I subscribed to the dynos, i sent command the application started working:

$ heroku ps:scale web=1 --app [APP NAME]