Closed viktorianer closed 3 years ago
I found a fix for me. In my app I use ENV
in one asset, and I did not set these envs before deployment. So, my fail.
But, it would be nice to have some error messages with help.
Sight note:
For the first time I had to define engines.node
and engines.yarn
in packages.json
, because Heroku-20 stack use a node (default ~14
) and yarn (default ~.1.21
) version, which is not working with my app setup. After adding this, Heroku use versions specified by my packages.json
and is not using default version for this Heroku-20 stack.
I see this error on Heroku with new
heroku-20
stack during a new deployment and local (without docker), if I run:I found this issue after updating to
heroku-20
stack today, after seeing Heroku warning:With
heroku-18
stack and my docker config (https://github.com/viktorianer/rails-community-app), I do not have any problems to precompile my assets. 🥇 It is in master, because I had no problems during development and upgrading with docker stack.execjs
dependencies in my project:Stack trace: