Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

ActionView::Template::Error: Webpacker can't find application.js in /var/www/sites/dmp/public/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 #305

Open
ualbertalib-bot opened this issue Sep 23, 2020 · 0 comments

Comments

@ualbertalib-bot
Copy link

View details in Rollbar: https://rollbar.com/ualbertalib/DMPonline_v4/items/107/


Webpacker::Manifest::MissingEntryError: Webpacker can't find application.js in /var/www/sites/dmp/public/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:
{
}

  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/webpacker-3.6.0/lib/webpacker/manifest.rb", line 44, in handle_missing_entry
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/webpacker-3.6.0/lib/webpacker/manifest.rb", line 27, in lookup!
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/webpacker-3.6.0/lib/webpacker/helper.rb", line 86, in block in sources_from_pack_manifest
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/webpacker-3.6.0/lib/webpacker/helper.rb", line 86, in map
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/webpacker-3.6.0/lib/webpacker/helper.rb", line 86, in sources_from_pack_manifest
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/webpacker-3.6.0/lib/webpacker/helper.rb", line 55, in javascript_pack_tag
  File "/var/www/sites/dmp/app/views/layouts/application.html.erb", line 37, in _app_views_layouts_application_html_erb___140124636065082145_43417800
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionview-4.2.11.3/lib/action_view/template.rb", line 145, in block in render
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/notifications.rb", line 166, in instrument
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionview-4.2.11.3/lib/action_view/template.rb", line 337, in instrument
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionview-4.2.11.3/lib/action_view/template.rb", line 143, in render
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionview-4.2.11.3/lib/action_view/renderer/template_renderer.rb", line 66, in render_with_layout
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionview-4.2.11.3/lib/action_view/renderer/template_renderer.rb", line 52, in render_template
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionview-4.2.11.3/lib/action_view/renderer/template_renderer.rb", line 14, in render
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionview-4.2.11.3/lib/action_view/renderer/renderer.rb", line 46, in render_template
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionview-4.2.11.3/lib/action_view/renderer/renderer.rb", line 27, in render
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionview-4.2.11.3/lib/action_view/rendering.rb", line 100, in _render_template
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/streaming.rb", line 217, in _render_template
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionview-4.2.11.3/lib/action_view/rendering.rb", line 83, in render_to_body
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/rendering.rb", line 32, in render_to_body
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/renderers.rb", line 37, in render_to_body
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/abstract_controller/rendering.rb", line 25, in render
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/rendering.rb", line 16, in render
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb", line 44, in block (2 levels) in render
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/core_ext/benchmark.rb", line 12, in block in ms
  File "/usr/lib64/ruby/2.5.0/benchmark.rb", line 308, in realtime
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/core_ext/benchmark.rb", line 12, in ms
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb", line 44, in block in render
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb", line 87, in cleanup_view_runtime
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/activerecord-4.2.11.3/lib/active_record/railties/controller_runtime.rb", line 25, in cleanup_view_runtime
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb", line 43, in render
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/wicked_pdf-1.1.0/lib/wicked_pdf/pdf_helper.rb", line 42, in render_with_wicked_pdf
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/implicit_render.rb", line 10, in default_render
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/implicit_render.rb", line 5, in send_action
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/abstract_controller/base.rb", line 198, in process_action
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/rendering.rb", line 10, in process_action
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/abstract_controller/callbacks.rb", line 20, in block in process_action
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 117, in call
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 555, in block (2 levels) in compile
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 505, in call
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 92, in __run_callbacks__
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 778, in _run_process_action_callbacks
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/callbacks.rb", line 81, in run_callbacks
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/abstract_controller/callbacks.rb", line 19, in process_action
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/rescue.rb", line 29, in process_action
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/actionpack-4.2.11.3/lib/action_controller/metal/instrumentation.rb", line 32, in block in process_action
  File "/var/www/sites/dmp/vendor/ruby/2.5.0/gems/activesupport-4.2.11.3/lib/active_support/notifications.rb", line 164, in block in instrument
  Fi
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant