invertase / dart_edge

Run Dart on the Edge - supporting Vercel & Cloudflare Workers (more coming soon).

Home Page:https://docs.dartedge.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Runtime error when running `vercel dev`

chimon2000 opened this issue · comments

commented
const response = await options.runtime.dispatchFetch(String(getURL(req)), {
                                                       ^

TypeError: options.runtime.dispatchFetch is not a function
    at Server.handler (/<path>/.npm/_npx/e04f8f8c002b5887/node_modules/edge-runtime/dist/server/create-handler.js:28:56)
    at Server.emit (node:events:513:28)
    at parserOnIncoming (node:_http_server:1091:12)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)

Node.js v18.16.0