-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Running rails_admin:install raises "@popperjs/core" importmap error #3694
Comments
same happens on Rails 7.1.3.4 and rails admin 3.1.4, ruby 3.3.0 original issue #3609 P.S. I've tried with 3.1.2 but got the same error |
Check this out - #3683 |
I'm not familiar with jspm / importmaps, etc, so take this with a pinch of salt. This issue looks like this is related to the fact that we reference a package in the codebase that's no longer present in jQuery UI. When running the import map generator for
We can see the file referenced: rails_admin/src/rails_admin/base.js Line 13 in 53b89c9
However, this file was removed from jquery-ui in 1.14.0. The As I'm writing this, I noticed a constraint change committed as part of 5245d5b which looks promising from @mshibuya 🥳 |
I'm running into this issue as well. It tried using the master branch, did not help. Does the NPM package need to be updated as well? |
I believe so, rails_admin/lib/rails_admin/version.rb Lines 16 to 18 in 53b89c9
Line 3 in 53b89c9
|
This was fixed as 3.2.0.rc was released. Please use it. |
Describe the bug
Unable to run
rails g rails_admin:install
on a fresh Rails project.Reproduction steps
Full output from g rails_admin:install
Expected behavior
Expect
rails r rails_admin:install
to succeed.Additional context
rails
version:7.2.0
rails_admin
version:3.2.beta
rails_admin
npm package version: Not sure how to check this.The text was updated successfully, but these errors were encountered: