use-immer
use-immer copied to clipboard
Attempted import error: 'freeze' is not exported from 'immer' (imported as 'r').
index.js:1437 ./node_modules/[email protected]@use-immer/dist/use-immer.module.js
Attempted import error: 'freeze' is not exported from 'immer' (imported as 'r').
Reproduction etc plz
On Sun, 2 Jan 2022, 08:39 码中仙, @.***> wrote:
index.js:1437 .@.***@use-immer/dist/use-immer.module.js Attempted import error: 'freeze' is not exported from 'immer' (imported as 'r').
— Reply to this email directly, view it on GitHub https://github.com/immerjs/use-immer/issues/97, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN4NBFIQTBFBPOQ5DYVUYLUT76K5ANCNFSM5LDMBDKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
Same problem +1, downgrade to version 0.5.2 solved
Demoted to version 0.5.2, but it didn't work for me, and the problem continued.
+1
So the problem is still unresolved. Please
other package depend low version of Immer, update immer reslove this error for me
This is not a bug in the package but in your project setup. Please make sure peer dependencies are satisfied or provide a reproduction. Further just +1-ing on this issue is pointless.
On Wed, 13 Apr 2022, 03:31 橙, @.***> wrote:
other package depend low version of Immer, update immer reslove this error for me
— Reply to this email directly, view it on GitHub https://github.com/immerjs/use-immer/issues/97#issuecomment-1097488451, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN4NBHFGVY6E5ADURM25ULVEYWYHANCNFSM5LDMBDKQ . You are receiving this because you commented.Message ID: @.***>
Try to install "immer"