-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Closed
Labels
Description
Vercel cannot deploy the output of RR v7 build when used with nested routes.
I'm using React Router as a framework.
Reproduction
// app/routes.ts
import { type RouteConfig, index, route } from "@react-router/dev/routes";
export default [
route("/", "routes/Application.tsx", [
index("routes/Home.tsx"),
] satisfies RouteConfig),
];System Info
https://vercel.com/changelog/support-for-react-router-v7Used Package Manager
npm
Expected Behavior
App will be built and deployed
Actual Behavior
App is built but Vercel couldn't deploy it.
It fails when collecting resources from /vercel/output with "unexpected error".
Build Completed in /vercel/output [27s]
Deploying outputs...
An unexpected error happened when running this build. We have been notified of the problem. If you have any questions, please contact Vercel Support https://vercel.com/help
I have asked Vercel to expose more details on the problem recently.
I will add them here if I have any, but wouldn't expect that.