You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since 4.4.2 I am getting unexpected build failures in an application that has zustand only as a subdependency:
./node_modules/zustand/esm/shallow.mjs:1:0-31 - Error: Module not found: Error: Can't resolve 'react' in '/home/runner/work/juice-shop/juice-shop/frontend/node_modules/zustand/esm'
Link to reproduction
As I am not using zustand directly, I unfortunately can't deliver one. But adding zustand to my direct dependencies as "zustand": "4.4.1" solves the build issue.
Summary
Since 4.4.2 I am getting unexpected build failures in an application that has
zustand
only as a subdependency:Link to reproduction
As I am not using
zustand
directly, I unfortunately can't deliver one. But addingzustand
to my direct dependencies as"zustand": "4.4.1"
solves the build issue.The text was updated successfully, but these errors were encountered: