Ask A Question

Notifications

You’re not receiving notifications from this thread.

Need help on Webpacker issue with Rails 6

swathi arisankula asked in Rails

I am using Rails 6, Ruby 2.7, and Webpacker 4. X
I am getting below error
ActionView::Template::Error (Webpacker can't find application.js in /Users/developer/Documents/Projects/knowhub/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 been re-run to reflect updates.
  3. You have misconfigured Webpacker's config/webpacker.yml file.
  4. Your webpack configuration is not creating a manifest.

Can anyone help me with this?

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,584+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.