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
I'm working on a Next.js project and encountering build issues when trying to use @conform-to/react with React 19 RC.
Environment:
Next.js: 15.0.3
React: 19.0.0-rc-66855b96-20241106
React DOM: 19.0.0-rc-66855b96-20241106
@conform-to/react: ^1.2.2
@conform-to/zod: ^1.2.2
The issue arises during deployment to Vercel, where I receive dependency resolution errors. The build process indicates that @conform-to/react requires React ">=18", but seems unable to resolve this with the React 19 RC version.
This is the deployment error I am getting:
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @conform-to/react@1.2.2
npm error Found: react@19.0.0-rc-66855b96-20241106
npm error node_modules/react
npm error react@"19.0.0-rc-66855b96-20241106" from the root project
npm error peer react@"^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" from @radix-ui/react-arrow@1.1.0
npm error node_modules/@radix-ui/react-arrow
npm error @radix-ui/react-arrow@"1.1.0" from @radix-ui/react-popper@1.2.0
npm error node_modules/@radix-ui/react-popper
npm error @radix-ui/react-popper@"1.2.0" from @radix-ui/react-menu@2.1.2
npm error node_modules/@radix-ui/react-menu
npm error @radix-ui/react-menu@"2.1.2" from @radix-ui/react-dropdown-menu@2.1.2
npm error node_modules/@radix-ui/react-dropdown-menu
npm error 54 more (@radix-ui/react-avatar, @radix-ui/react-collection, ...)
npm error
npm error Could not resolve dependency:
npm error peer react@">=18" from @conform-to/react@1.2.2
npm error node_modules/@conform-to/react
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm working on a Next.js project and encountering build issues when trying to use
@conform-to/reactwith React 19 RC.Environment:
The issue arises during deployment to Vercel, where I receive dependency resolution errors. The build process indicates that
@conform-to/reactrequires React ">=18", but seems unable to resolve this with the React 19 RC version.This is the deployment error I am getting:
Question:
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions