webpacker: Can't find default.css in /public/packs/manifest.json. Is webpack still compiling?
Here are the logs:
$ rails assets:precompile
Webpacker is installed 🎉 🍰
Using <APP_PATH>/config/webpacker.yml file for setting up webpack paths
Compiling…
Compiled all packs in <APP_PATH>/app/assets/webpacker/packs
I noticed that I have no folder called public/packs
thus no manifest file. Shouldn’t that be taken care of by webpacker automatically when precompiling?
In addition not all packs get precompiled into public/assets/packs
as they should.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 32 (16 by maintainers)
@gauravtiwari That’s what I did 😄
I think I’ve found a good solution.
@jonhue There you go: https://github.com/jonhue/webpacker_example/pull/1
You are getting the manifest error because the webpack dev server is never run. We had some compatibility issues on windows due to yarn, which got fixed later on master but yet to be released.