-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
FrozenError: can't modify frozen Array when adding devServer middleware #1700
Comments
Hey @mikker Are you eager loading code in development? # Do not eager load code on boot.
config.eager_load = false |
Nope, |
@mikker Any chance you're using ActiveAdmin |
I'm also seeing this with RailsAdmin 1.4.1 but not 1.4.0. It seems likely this commit (railsadminteam/rails_admin@59478af) is responsible, but I can't for the life of me figure out why. |
Sorry to bother you, RailsAdmin 1.4.2 is out with the fix for this: |
Thanks, appreciate the update! |
Still having the same issue:
rails_admin (1.4.2) |
I have no idea why but somehow, in one of my projects,
app.middleware.middlewares
is frozen when Webpacker tries to insert its devServer middleware.I've "fixed" it by
dup
ing the array (see master...mikker:frozen-middlewares).I've tried disable some gems and the like but haven't been able to find the culprit yet.
Ruby: 2.5.1
Rails: 5.2.1
Webpacker: 3.5.5 and/or
master
The text was updated successfully, but these errors were encountered: