Skip to content

Webpacker error leads to internal server error #117

@mausquirk

Description

@mausquirk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions