Skip to content

Build issue when deploying the Astro example. Please update astro and astrojs/vercel versions. #1437

@gentwohig

Description

@gentwohig

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" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions