When I deployed the Astro example https://vercel.com/templates/astro/astro-boilerplate, I got a build error.
The error:
Error: The following Serverless Functions contain an invalid "runtime":
After I updated the astrojs/vercel version to 10.0.1, I got a new build error:
[ERROR] [vite] ✗ Build failed in 85ms
[commonjs--resolver] Missing "./app/entrypoint" specifier in "astro" package
Updating both the astro and astrojs/vercel fixed the build errors.
In package.json:
"dependencies": { "@astrojs/vercel": "10.0.1", "astro": "^6.0.5", "react": "18.3.1" }