Skip to content
New issue

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

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

Already on GitHub? # to your account

404 error bit.ly link #550

Closed
1 of 2 tasks
techoi opened this issue Mar 12, 2020 · 4 comments
Closed
1 of 2 tasks

404 error bit.ly link #550

techoi opened this issue Mar 12, 2020 · 4 comments

Comments

@techoi
Copy link
Contributor

techoi commented Mar 12, 2020

🐛 Bug Report

A clear and concise description of what the bug is.

Link to repro

error.ts

To Reproduce

Steps to reproduce the behavior:
When error occur like ES5 on IE11
The error message is shown below
[Immer] minified error nr: 19 ES5. Find the full error at: https://bit.ly/38PiBHb

Observed behavior

The url is not work.
404

Expected behavior

Replace https://bit.ly/38PiBHb to https://github.com/immerjs/immer/blob/master/src/utils/errors.ts

Environment

  • Immer version:
  • Occurs with setUseProxies(true)
  • Occurs with setUseProxies(false) (ES5 only)
@mweststrate
Copy link
Collaborator

Yes, this is stupid, PR welcome!

@techoi
Copy link
Contributor Author

techoi commented Mar 16, 2020

PR fix this issue.

@stunaz
Copy link

stunaz commented May 26, 2020

@techoi how did you fix this error? error 19 says the plugin is not loaded.... but I did load it as the following

import {enableES5} from 'immer';

enableES5();

still getting the exact error

@einasmadi
Copy link

@stunaz - I noticed that I needed to put the enableES5() line in my redux store initialization rather than at my Index.jsx entrypoint. I know it's been a while but if it helps anyone, if the error doesn't go it might be because the enabling is in the wrong place.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants