Hi, @ksawery29! Welcome to the Vercel Community
I can understand how frustrating this is! Let’s try and debug together. FWIW, here are some potentially useful resources to debug build errors:
- From the docs: Troubleshooting Build Errors
- From the community: Debugging Build Errors
The errors you’re seeing suggest there might be a version mismatch or incompatibility. Can you access the full build logs in your Vercel dashboard? Look for any warnings or errors at the beginning of the build process that might provide more context .
Since even old, previously working versions are failing, it might be helpful to create a minimal reproduction of your project. This could help isolate whether the issue is with your code or Vercel’s build process.
Regarding the specific errors:
- The
useFormStatus
error suggests a version mismatch between your local environment and Vercel’s build environment. Double-check yourpackage.json
to ensure you’re using compatible versions ofnext
,react
, andreact-dom
. - The form action error might be related to TypeScript configurations. Ensure your
tsconfig.json
is up-to-date and compatible with your Next.js version.
If these steps don’t resolve the issue, please provide more details about your project structure, package.json
, and any next.config.js
file you might have. This will help in providing more targeted advice.