diff --git a/lib/webpacker/manifest.rb b/lib/webpacker/manifest.rb index 2fbb8b8d2..03193d1c1 100644 --- a/lib/webpacker/manifest.rb +++ b/lib/webpacker/manifest.rb @@ -105,11 +105,14 @@ def manifest_type(pack_type) def missing_file_from_manifest_error(bundle_name) <<-MSG Webpacker can't find #{bundle_name} in #{config.public_manifest_path}. Possible causes: -1. You want to set webpacker.yml value of compile to true for your environment - unless you are using the `webpack -w` or the webpack-dev-server. -2. webpack has not yet re-run to reflect updates. -3. You have misconfigured Webpacker's config/webpacker.yml file. -4. Your webpack configuration is not creating a manifest. +1. You forgot to install node packages (try `yarn install`) or are running an incompatible version of Node +2. Your app has code with a non-standard extension (like a `.jsx` file) but the extension is not in the `extensions` config in `config/webpacker.yml` +3. You have set compile: false (see `config/webpacker.yml`) for this environment + (unless you are using the `webpack -w` or the webpack-dev-server, in which case maybe you aren't running the dev server in the background?) +4. webpack has not yet re-run to reflect updates. +5. You have misconfigured Webpacker's `config/webpacker.yml` file. +6. Your webpack configuration is not creating a manifest. + Your manifest contains: #{JSON.pretty_generate(@data)} MSG