vercel / vercel/examples

Hono template fails with `No valid entrypoint found` on dev only Windows

Open
#1,195 2 comments 1 reaction 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

Introduction

When attempting to run the Hono template with dev, browser requests fail with No valid entrypoint found, however when the project is deployed it works as expected. It is a Windows specfic error as when tested on Ubuntu 24.04 everything works

Steps to reproduce

  1. Clone the official examples repo:
    git clone https://github.com/vercel/examples vercel-examples
  2. Navigate to the Hono example:
    cd vercel-examples/framework-boilerplates/hono
  3. Install dependencies:
    npm install
  4. Run local development server:
    vc dev
  5. Navigate to the URL in the browser

Windows logs:

$ D:\projects\web> git clone https://github.com/vercel/examples vercel-examples
Cloning into 'vercel-examples'...
remote: Enumerating objects: 37922, done.
remote: Counting objects: 100% (734/734), done.
remote: Compressing objects: 100% (370/370), done.
remote: Total 37922 (delta 586), reused 370 (delta 364), pack-reused 37188 (from 3)
Receiving objects: 100% (37922/37922), 100.97 MiB | 17.83 MiB/s, done.
Resolving deltas: 100% (16037/16037), done.
$ D:\projects\web> cd .\vercel-examples\
$ D:\projects\web\vercel-examples> cd .\framework-boilerplates\hono\
$ D:\projects\web\vercel-examples\framework-boilerplates\hono> npm i

added 4 packages, and audited 5 packages in 1s

found 0 vulnerabilities
$ D:\projects\web\vercel-examples\framework-boilerplates\hono> vc dev
Vercel CLI 44.7.3
? Set up and develop “D:\projects\web\vercel-examples\framework-boilerplates\hono”? yes
? Which scope should contain your project? ajh123's projects
? Link to existing project? no
? What’s your project’s name? hono-example
? In which directory is your code located? ./
Local settings detected in vercel.json:
Auto-detected Project Settings (🔥 Hono):
- Build Command: None
- Development Command: None
- Install Command: `yarn install`, `pnpm install`, `npm install`, or `bun install`
- Output Directory: N/A
? Want to modify these settings? no
? Want to use the default Deployment Protection settings? (Vercel Authentication: Standard Protection) yes
🔗  Linked to ajh123s-projects/hono-example (created .vercel)
> Ready! Available at http://localhost:3000
Error: No valid entrypoint found
Error: No valid entrypoint found

Environment

  • OS1: Windows 11
  • OS2: Ubuntu 24.04
  • Vercel CLI version: 44.7.3
  • Node.js version: v22.14.0

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 in framework-boilerplates/hono and reproduce the failure with vc dev on Windows, then compare it with the working Ubuntu behavior. Trace the local development entrypoint resolution and verify that browser requests succeed without No valid entrypoint found while deployed behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
backend, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.