Decidim: Cant start Decidim: couldn't find file 'decidim' with type 'application/javascript'

Created on 9 Oct 2019  路  3Comments  路  Source: decidim/decidim

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):

  • Device OS: Ubuntu 18.04
  • Browser: n/a
  • Decidim Version: 0.18.0
  • Decidim installation: see installation script

Additional context

wontfix

Most helpful comment

Until we find the culprit you can downgrade sprockets version with:

gem "sprockets", "~> 3.7.2"

All 3 comments

Until we find the culprit you can downgrade sprockets version with:

gem "sprockets", "~> 3.7.2"

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andreslucena picture andreslucena  路  4Comments

josepjaume picture josepjaume  路  4Comments

Jordi-Miro picture Jordi-Miro  路  4Comments

Xfolchf picture Xfolchf  路  4Comments

josanFFiG picture josanFFiG  路  3Comments