-
-
Notifications
You must be signed in to change notification settings - Fork 780
Open
Labels
Description
Environment
Im deployin a tanstack start project to Vercel
Here is my vite.config
import { defineConfig } from "vite";
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
import viteReact from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
import { nitro } from "nitro/vite";
export default defineConfig({
server: {
port: 3000,
},
envPrefix: ["VITE_", "NEXT_PUBLIC_"],
resolve: {
tsconfigPaths: true,
},
plugins: [
tailwindcss(),
tanstackStart({
srcDirectory: "src",
router: {
routesDirectory: "routes",
routeFileIgnorePrefix: "-",
},
}),
nitro({ preset: "vercel", traceDeps: ['pg'], }),
viteReact(),
],
});
Package
"nitro": "npm:nitro-nightly@latest",
Reproduction
Deploy a nitro app (tanstack start for example) in Vercel and set in the build config node 24.
Describe the bug
Nitro is not using the Vercel node version that I configured
Additional context
Logs
Reactions are currently unavailable