-
-
Notifications
You must be signed in to change notification settings - Fork 545
Open
Description
Describe the bug
Whenever the useForm hook is used within a Tanstack Start project, the following error appears:
The requested module '/node_modules/.pnpm/[email protected][email protected]/node_modules/use-sync-external-store/shim/with-selector.js?v=b2949b83' does not provide an export named 'useSyncExternalStoreWithSelector'
Your minimal, reproducible example
https://stackblitz.com/edit/vitejs-vite-jqagntfy
Steps to reproduce
- Create a new Tanstack Start project via
pnpm create @tanstack/start@latest - Install
@tanstack/react-form-start - Import and attempt to use a form variable through the
useFormhook.
Expected behavior
I expect the useForm hook to not through an export not found error.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
- Linux (EndeavourOS)
- Chrome
TanStack Form adapter
react-form
TanStack Form version
1.26.0
TypeScript version
5.9.3
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels