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

IE11 - Object.isFrozen: argument is not an object #592

Closed
michael-haberzettel opened this issue Jun 6, 2020 · 2 comments
Closed

IE11 - Object.isFrozen: argument is not an object #592

michael-haberzettel opened this issue Jun 6, 2020 · 2 comments

Comments

@michael-haberzettel
Copy link

michael-haberzettel commented Jun 6, 2020

Hello,

I've encoutered an issue with redux-toolkit and IE11. The following error occurs when starting webpack dev server. Fortunatly the problem doesn't exist in bundled app !

The error :
Object.isFrozen: argument is not an object

After some investigation, this error seems to be related to immer library : immerjs/immer#600. A fix has been published in version 6.0.6

After manual setting the latest version of immer in internal dependencies of redux-toolkit, my application works again.

Would it be possible to update the version of immer in your library ?

PS : sorry for my poor english.

@michael-haberzettel michael-haberzettel changed the title IE11 - Error Object.freeze IE11 - Object.isFrozen: argument is not an object Jun 6, 2020
@markerikson
Copy link
Collaborator

We already specify "immer": "^6.0.1",, so it's just a question of when you happened to install or update the dependencies in your own project.

@michael-haberzettel
Copy link
Author

Thank you for your response. Indeed an update was enough to solve the problem.

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

2 participants