Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning when rake assets:precompile with Sprockets #3606

Open
jonmchan opened this issue Mar 3, 2023 · 0 comments
Open

Warning when rake assets:precompile with Sprockets #3606

jonmchan opened this issue Mar 3, 2023 · 0 comments

Comments

@jonmchan
Copy link

jonmchan commented Mar 3, 2023

Describe the bug
Does anyone else receive the following warning when running rake assets:precompile with rails_admin setup to use sprockets?

W, [2023-03-03T06:53:23.282082 #890]  WARN -- : Removed sourceMappingURL comment for missing asset 'rails_admin/popper.js.map' from /usr/local/bundle/gems/rails_admin-3.1.1/vendor/assets/javascripts/rails_admin/popper.js
W, [2023-03-03T06:53:23.312343 #890]  WARN -- : Removed sourceMappingURL comment for missing asset 'rails_admin/bootstrap.js.map' from /usr/local/bundle/gems/rails_admin-3.1.1/vendor/assets/javascripts/rails_admin/bootstrap.js

Reproduction steps

  1. Use rails_admin in sprockets mode.
  2. Do not have yarn installed, use only sprockets and importmap
  3. run rake assets:precompile

Expected behavior
No warning

Additional context

  • rails version: Rails 7.0.4.2
  • rails_admin version: rails_admin-3.1.1
  • rails_admin npm package version: NA
  • full stack trace (if there's an exception)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant