vercel / vercel/examples

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

Open
#1,437 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.2k
Forks
1.8k
Avg merge
3d 12h
Merged PRs (30d)
6

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Astro example's package.json and compare its Astro and @astrojs/vercel dependencies with the versions reported in the issue. Deploy the example again and confirm the invalid runtime and missing astro entrypoint build errors no longer occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
build-system, cloud, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.