Sprockets::FileNotFound: couldn't find file 'i18n' with type 'application/javascript' #630
Unanswered
SuprajaSuresh
asked this question in
Q&A
Replies: 1 comment 8 replies
-
|
Do you have another gem that has JS included but succeed? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Facing this error: Sprockets::FileNotFound: couldn't find file 'i18n.js' with type 'application/javascript' Agter upgrading to Rails 7.0.0, Ruby 3.0.3.
I have tried both: gem 'i18n-js', ">= 3.0.0.rc11" as well as gem 'i18n-js'.
Included all three
//= require i18n
//= require i18n.js
//= require i18n/translations
This works fine with rails 6
Beta Was this translation helpful? Give feedback.
All reactions