shakacode/react-webpack-rails-tutorial

Issue going through setup steps

starpause opened this issue · 1 comments

I get to 13. foreman start -f Procfile.hot and when I open my web browser, get an error Webpacker::Manifest::MissingEntryError in Pages#index. On the terminal I get the following:

ActionView::Template::Error (Webpacker can't find vendor-bundle.css in /Users/redacted/Workspace/react-webpack-rails-tutorial-master/public/packs/manifest.json. Possible causes:
10:27:19 rails.1               | 1. You want to set webpacker.yml value of compile to true for your environment
10:27:19 rails.1               |    unless you are using the `webpack -w` or the webpack-dev-server.
10:27:19 rails.1               | 2. Webpack has not yet re-run to reflect updates.
10:27:19 rails.1               | 3. You have misconfigured Webpacker's config/webpacker.yml file.
10:27:19 rails.1               | 4. Your Webpack configuration is not creating a manifest.

I belive I followed all of the steps and if I skip ahead to foreman start -f Procfile.static that works fine. Thanks for any direction!

Marking as closed, it occured to me that I'd downloaded the example as a zip and not cloned it (the published url wasn't working, so I now instead grabbed the clone url from the green button in github). Now that I've cloned the project webpack is working correctly. Thanks!