-
-
Notifications
You must be signed in to change notification settings - Fork 630
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
uninitialized constant ReactOnRails::Configuration::Webpacker
#1621
Comments
@adriangohjw can you update spec/dummy app to use Shakapacker v8? |
@justin808 done! e1c1b2d |
I can confirm this bug still exists, event though the associated PR has been closed. As a workaround until this is fixed, I've just put an initializer in my app that sets # app/config/initializers/webpacker.rb
Webpacker = Shakapacker |
I confirm @4-Eyes 's hack worked for me. |
For the record, it looks like a fix was supposed to have be merged in #1629. |
#1622 will fix this. |
Environment
Ruby version: 3.3.1
Rails version: 7.1.3.2
Shakapacke version: 8.0.0
React on Rails version: 14.0.0
Expected behavior
Running
rails s
should start the server successfullyActual behavior
Facing this error and server refuse to start up
Details
Changing
Webpacker.config.shakapacker_precompile?
toShakapacker.config.shakapacker_precompile?
seem to fix the issue (on my end, at least)react_on_rails/lib/react_on_rails/configuration.rb
Lines 258 to 262 in 36f342c
The text was updated successfully, but these errors were encountered: