Stimulus Discourse

The files in javascript/packs are not loading

I did minor changes after a long time in my app, in production. Nothing really related to code, but informations. However, i did many deploys.

After that, I found out the behavior depending on the files in javascript/packs failed, and it was because the files weren’t loaded.

Looking for a solution, the most plausible solution it seems the files haven’t been included, but I’m not able to fix it.

I’ve tried:
RAILS_ENV=production bundle exec rails webpacker:compile
and
bundle exec rake assets:precompile RAILS_ENV=production

with no results

Can anyone help me?