Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpacker error leads to internal server error #117

Open
mausquirk opened this issue Dec 17, 2023 · 0 comments
Open

Webpacker error leads to internal server error #117

mausquirk opened this issue Dec 17, 2023 · 0 comments

Comments

@mausquirk
Copy link

I did configure and run a new instance of decidim v0.27.4 and installed the "Decidim Participatory Documents" module as described in the README.

Testing the module with a simple Participatory processe I was able to add the component. Trying to "manage" the component I receive an Internal Server Error.

The error message in the log file starts as following:

I, [2023-12-17T16:00:08.007346 #1]  INFO -- : [cd129fc4-5a36-4ffc-bd28-02c08f8cc5e0] Processing by Decidim::ParticipatoryDocuments::Admin::DocumentsController#index as HTML
I, [2023-12-17T16:00:08.007444 #1]  INFO -- : [cd129fc4-5a36-4ffc-bd28-02c08f8cc5e0]   Parameters: {"participatory_process_slug"=>"test", "component_id"=>"4"}
I, [2023-12-17T16:00:08.058524 #1]  INFO -- : [cd129fc4-5a36-4ffc-bd28-02c08f8cc5e0] Completed 500 Internal Server Error in 51ms (ActiveRecord: 9.7ms | Allocations: 15907)
F, [2023-12-17T16:00:08.060279 #1] FATAL -- : [cd129fc4-5a36-4ffc-bd28-02c08f8cc5e0]   
[cd129fc4-5a36-4ffc-bd28-02c08f8cc5e0] Webpacker::Manifest::MissingEntryError (Webpacker can't find decidim_participatory_documents_admin.css in /code/public/decidim-packs/manifest.json. Possible causes:
1. You want to set webpacker.yml value of compile to true for your environment
   unless you are using the `webpack -w` or the webpack-dev-server.
2. webpack has not yet re-run to reflect updates.
3. You have misconfigured Webpacker's config/webpacker.yml file.
4. Your webpack configuration is not creating a manifest.
Your manifest contains:
{
...

This issue can be fixed with running bundle exec rake webpacker:compile
So this step should be added to the Readme file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant