Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

297
Views
TypeError: (0 , immer__WEBPACK_IMPORTED_MODULE_2__.default) is not a function

I am using this library: redux-toolkit, and, as far as I understand, immer library as a part of it. I am trying to start a server and when it renders, I get this error

TypeError: (0 , immer__WEBPACK_IMPORTED_MODULE_2__.default) is not a function It then refers to this line in file @reduxjs/toolkit/src/index.ts saying it is not a function: enableES5().

EnableES5 is imported above like this: import { enableES5 } from 'immer'

How do I fix it? I tried changing the index.ts file, but since its a dependency I am not even sure I can change anything there.

Thank you

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!