I\'m a bit stumped. My local rails app works great with webpacker 4.2 and react, but when deploying to production gives me the wonderful can\'t find application in /ap
It looks like there's no application.css in your manifest.json which means you might not be importing any css from within your Webpack javascript files.
If that's all true, then you can fix the error in production by one of the following:
extract_css: false to your production block in config/webpacker.yml (which would mimic your local environments)<%= stylesheet_pack_tag 'application' %> from your application layout