I just created a new Rails 6 app. Everything went fine until I tried to launch the local server with rails s
, and got this error message :
RAILS_ENV=development environment is not defined in config/webpacker.yml, falling back to production environment
Exiting
and
Webpacker configuration file not found /Users/remy/dev/voter/config/webpacker.yml. Please run rails webpacker:install Error: No such file or directory @ rb_sysopen - /Users/remy/dev/voter/config/webpacker.yml (RuntimeError)
But when I run rails webpacker:install
I still have the error.