Error when building a React application with Zustand. #2839
Unanswered
HuuNguyen312
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
'm encountering an error when building a React application with Zustand. During development (yarn start), everything runs smoothly without issues. However, when running the production build (yarn build), I receive the following error:
Attempted import error: 'createJSONStorage' is not exported from 'zustand/middleware'.
This is my package.json
Please help me resolve it
Thanks
Beta Was this translation helpful? Give feedback.
All reactions