Skip to content

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

@ajh123

Description

@ajh123

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions