Vercel
Releases
Stability
Performance
Node-incompatible or oversized dependency in edge runtime
Part of the Edge runtime readiness check · fix arrives as a guide
What it is
An edge function imports a dependency that relies on Node APIs or that is too large for the edge bundle limit.
Why it matters
Edge functions have a hard size limit and a restricted API surface. Exceeding either fails the deploy, and dependencies pull transitive weight that is not obvious from the import line.
How to fix it
Swap for an edge-compatible library, import only the submodule you use, or move the route to the Node.js runtime. The build output shows which dependency dominates the bundle.
Run them all on your app
Connect your repo and your live services with read-only scopes. The first scan is free, and nothing changes without your approval.