immerjs / immer

Create the next immutable state by mutating the current one
https://immerjs.github.io/immer/
MIT License
27.69k stars 849 forks source link

Minified error nr: 0. #1077

Closed Dagur closed 1 year ago

Dagur commented 1 year ago

🐛 Bug Report

If I do a release build of my project I get this error

Uncaught ReferenceError: Cannot access 'v7' before initialization", source: bundle.js (1)
Error handling response: Error: [Immer] minified error nr: 0. Full error at: https://bit.ly/3cXEKWf

I haven't touched any code except some react components.

Link to repro

I have no idea how to reproduce this.

To Reproduce

I have no idea how to reproduce this.

Observed behavior

Everything works fine on debug builds. Official builds have worked without issue for months.

Expected behavior

No error.

Environment

We only accept bug reports against the latest Immer version.

markerikson commented 1 year ago

Is there any kind of a stack trace?

Can you provide a repro of that project at all? Or, possibly even better, record and share a Replay ( https://replay.io/record-bugs )?

Dagur commented 1 year ago

Sorry about the lack of info.

It turned out that this was a sympton of a bug in webpack. Closing this issue.