godmin icon indicating copy to clipboard operation
godmin copied to clipboard

`admin/bin/rails generate godmin:install` fails: "admin/application.js does not appear to exist"

Open dgmstuart opened this issue 5 years ago • 2 comments

While following the setup instructions, and running admin/bin/rails generate godmin:install on a Rails 6 application, I get the following error:

The file ~/dev/my_app/admin/app/assets/javascripts/admin/application.js does not appear to exist

dgmstuart avatar Sep 11 '20 15:09 dgmstuart

This is because in Rails 6 this has moved to app/javascript/packs/application.js

dgmstuart avatar Sep 11 '20 16:09 dgmstuart

Or... actually the rails engine no longer generates any javascript assets at all...

dgmstuart avatar Sep 11 '20 20:09 dgmstuart