Can not get vercel dev working on localhost with pnpm v10+
I'm using vercel cli v42.1.1 on a windows 11 OS.
// package.json
error link: https://github.com/vercel/vercel/blob/main/errors/now-static-build-failed-to-detect-a-server.md
I was following this guide https://www.youtube.com/watch?v=QDgdUtd6ZRs&t=881s
The deployed code runs live here: https://vedge-rust.vercel.app/
I've tried AI, googling and guessing stuffs too for 2 days. Any help would be much appreciated.
GitHub
vercel/errors/now-static-build-failed-to-detect-a-server.md at main...
Develop. Preview. Ship. Contribute to vercel/vercel development by creating an account on GitHub.
Syntax
YouTube
Deploy A Hono API to Render, fly.io, Vercel and Cloudflare Workers
In this video CJ shows how to deploy a hono API to several platforms including render.com, fly.io, vercel and cloudflare workers. He shows things you should consider for the typescript build settings and also shows how to connect to a sqlite db deployed to turso.
View the hono starter template here: https://github.com/w3cj/hono-open-api-starter...

4 Replies
don't use
packageManager
vercel detect package manager by lockfile,.can you share the project repo?
i'm not sure how
port
is specified, but that might be a place to startNode.js - Hono
Web framework built on Web Standards for Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Node.js, and others. Fast, but not only fast.
thanks, but i meant specifically if/how OP was setting the port, namely in the context of a vercel deployment
63460
seems more like a machine-set value than one selected by a user, and afaik using vercel (with edge) works a bit differently than a standard node process