Describe the bug
Trying to install Decidim 0.18.0. When running bin/rails assets:precompile db:migrate RAILS_ENV=production I get the following error:
Sprockets::FileNotFound: couldn't find file 'decidim' with type 'application/javascript'
In the logs, there's a similar error when trying to display the admin page (no page is displayed):
ActionView::Template::Error (The asset "decidim/system/application.css" is not present in the asset pipeline.):
To Reproduce
Steps to reproduce the behavior:
Installation scripts:
https://gitlab.forge.gouv.qc.ca/claude.durocher/decidim/tree/master/bash
Expected behavior
bin/rails assets:precompile should not throw an error
Extra data (please complete the following information):
Additional context
Until we find the culprit you can downgrade sprockets version with:
gem "sprockets", "~> 3.7.2"
To fix it, we need to upgrade our manifests following these guides:
https://github.com/rails/sprockets/blob/3.x/UPGRADING.md
https://github.com/rails/sprockets/blob/master/UPGRADING.md
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. @carolromero & @xabier feel free to chime in.
Most helpful comment
Until we find the culprit you can downgrade sprockets version with:
gem "sprockets", "~> 3.7.2"