Getting an issue:
Error:
ProjectsControllerTest#test_should_get_show_for_private_project:
ActionView::Template::Error: Webpacker can't find application.js in /home/ubuntu/todo_next/public/packs-test/manifest.json. 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.
Your manifest contains:
{
}
Here is my config file: https://gist.github.com/hahmed/aafd37e8d92adbecc6bd6d6b766d13ea
btw - RAILS_ENV=test bundle exec rails webpacker:compile
works on my machine.