TanStackT
TanStack3mo ago
20 replies
popular-magenta

Tanstack start useSyncExternalStore error in dev

Im getting this strange error when trying to run my application in dev. When i build and run the vite preview it works normally. Im not sure what caused this. I tired to clear my node_modules but it didnt help.
index.mjs?v=d45e0807:2 Uncaught (in promise) SyntaxError: The requested module '/@fs/Users/jamal/Developer/GitHub/project/node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.0/node_modules/use-sync-external-store/shim/index.js?v=d45e0807' does not provide an export named 'useSyncExternalStore' (at index.mjs?v=d45e0807:2:10)
image.png
Was this page helpful?