I am receiving this error when I try to load a page in my new rails 5.1 app using webpacker. I would like webpacker to handle CSS as well.
I am running the ./bin/webpack-dev-server alongside the rails server. I created the app using:
rails new myapp –webpack
bundle exec rails webpacker:install:react
I just have single root route defined root to: ‘home#welcome’.
Here is app/views/layouts/application.html.erb
Here is my config/webpacker.yml (I have tried also setting compile to false in development.
I don’t want to add too many details up-front incase they are more distracting then helpful. Please ask for anything else and I’ll add to my question. Thanks!