-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
ActionView::Template::Error: Webpacker can't find application in /app/public/packs/manifest.json #2478
Comments
One thing I noticed is that the compilation works but there's no public/packs folder in my Heroku instance. This is the build log during precompilation:
This line caught me:
Any idea why this error occurs? |
I've made it work. The webpack didn't compile at all as |
|
Can you explain this:
I don't get it |
I could kiss you right now. |
Hello, I know this is not a new issue and I've checked multiple sources to see if the solutions are helpful but it yields no positive outcome, including the upgrade guide and #2071. I've migrated from webpacker 3.x to 4.2.2 recently and it works locally, but I receive this error when it's deployed to the Heroku staging server:
I have stylesheets in both assets and the javascript folder, and here are few lines from the _head.html.erb partial:
and both my stylesheets are .scss files and there's no .css file in the project.
This is my webpacker.yml after upgrade:
Am I missing anything?
The text was updated successfully, but these errors were encountered: