We've moved discussions to Discord

Webpacker::Manifest::MissingEntryError

I run into this error after merging the latest JPS version.

I've tried remove the yarn.lock and gemfile.lock and the content inside node_modules and run yarn install and bundle install to regenerate those files, but the error still persists.

I also run 
yarn add @rails/webpacker
bundle update webpacker
but it did not help either.

Any ideas on how I can solve this?

ActionView::Template::Error (Webpacker can't find application.css in /Users/../public/packs/manifest.json. Possible causes:13:44:29 web.1     | 1. You want to set webpacker.yml value of compile to true for your environment13:44:29 web.1     |   unless you are using the `webpack -w` or the webpack-dev-server.13:44:29 web.1     | 2. webpack has not yet re-run to reflect updates.13:44:29 web.1     | 3. You have misconfigured Webpacker's config/webpacker.yml file.13:44:29 web.1     | 4. Your webpack configuration is not creating a manifest.13:44:29 web.1     | Your manifest contains:13:44:29 web.1     | {13:44:29 web.1     |   "administrate.js": "/packs/js/administrate-ad52cf3fda9a4d147d3a.js",13:44:29 web.1     |   "administrate.js.map": "/packs/js/administrate-ad52cf3fda9a4d147d3a.js.map",13:44:29 web.1     |   "application.js": "/packs/js/application-69d0d66fcff22360bf80.js",13:44:29 web.1     |   "application.js.map": "/packs/js/application-69d0d66fcff22360bf80.js.map",13:44:29 web.1     |   "entrypoints": {13:44:29 web.1     |     "administrate": {13:44:29 web.1     |       "js": [13:44:29 web.1     |         "/packs/js/administrate-ad52cf3fda9a4d147d3a.js"13:44:29 web.1     |       ],13:44:29 web.1     |       "js.map": [13:44:29 web.1     |         "/packs/js/administrate-ad52cf3fda9a4d147d3a.js.map"13:44:29 web.1     |       ]13:44:29 web.1     |     },13:44:29 web.1     |     "application": {13:44:29 web.1     |       "js": [13:44:29 web.1     |         "/packs/js/application-69d0d66fcff22360bf80.js"13:44:29 web.1     |       ],13:44:29 web.1     |       "js.map": [13:44:29 web.1     |         "/packs/js/application-69d0d66fcff22360bf80.js.map"13:44:29 web.1     |       ]13:44:29 web.1     |     },13:44:29 web.1     |     "hello_vue": {13:44:29 web.1     |       "js": [13:44:29 web.1     |         "/packs/js/hello_vue-7d0a9f44f93535dbe2d2.js"13:44:29 web.1     |       ],13:44:29 web.1     |       "js.map": [13:44:29 web.1     |         "/packs/js/hello_vue-7d0a9f44f93535dbe2d2.js.map"13:44:29 web.1     |       ]13:44:29 web.1     |     },13:44:29 web.1     |     "jumpstart": {13:44:29 web.1     |       "js": [13:44:29 web.1     |         "/packs/js/jumpstart-c409e1a86916eceaa93a.js"13:44:29 web.1     |       ],13:44:29 web.1     |       "js.map": [13:44:29 web.1     |         "/packs/js/jumpstart-c409e1a86916eceaa93a.js.map"13:44:29 web.1     |       ]13:44:29 web.1     |     }13:44:29 web.1     |   },13:44:29 web.1     |   "hello_vue.js": "/packs/js/hello_vue-7d0a9f44f93535dbe2d2.js",13:44:29 web.1     |   "hello_vue.js.map": "/packs/js/hello_vue-7d0a9f44f93535dbe2d2.js.map",13:44:29 web.1     |   "jumpstart.js": "/packs/js/jumpstart-c409e1a86916eceaa93a.js",13:44:29 web.1     |   "jumpstart.js.map": "/packs/js/jumpstart-c409e1a86916eceaa93a.js.map"13:44:29 web.1     | }13:44:29 web.1     | ):13:44:29 web.1     |     6:   <%= csp_meta_tag %>13:44:29 web.1     |     7:   <%# All assets are defined in Webpacker app/javascripts now %>13:44:29 web.1     |     8:   <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>13:44:29 web.1     |     9:   <%= stylesheet_pack_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>13:44:29 web.1     |     10:   <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>13:44:29 web.1     |     11: 13:44:29 web.1     |     12: 13:44:29 web.1     |  13:44:29 web.1     | app/views/layouts/application.html.erb: 
Bob Sheth
Hi. I had the same error and it was to do with customisations I had made to the css using styles that were no longer included in new versions of tailwind. I think some colours have been removed and possibly some padding styles to do with aspect ratios like pb-5/6. Could be anything but i would dig around your css. You should get more info from the logs just after tailwind fails to compile. 
Ivor Padilla
I tried installing the react-rails gem and ran into the same issue. What's crazy to me is that I switch away from the branch where I installed webpacker and the issue persist. Any ideas  Chris Oliver   ?
John Maddux
I am having the same problem and haven't found any solution short of removing `<%= stylesheet_pack_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>` in `application.html.erb` which makes all the css go away. Anyone else had any luck?
Brian Carpenter
I ran into a similar although not exactly the same issue when moving to TailwindUI 2.0. 
Here's a link to the thread and the steps I did that resolved my issue, just in case it's helpful in some way.  


Notifications
You’re not receiving notifications from this thread.