Closed thecoorum closed 3 months ago
When tried to host a bot on Vercel's Edge API route with conversations, the following error logged in the console locally
⨯ ./node_modules/@deno/shim-deno/dist/deno/internal/Conn.js:17:1 Module not found: Can't resolve 'net' https://nextjs.org/docs/messages/module-not-found Import trace for requested module: ./node_modules/@deno/shim-deno/dist/deno/stable/functions/connect.js ./node_modules/@deno/shim-deno/dist/deno/stable/functions.js ./node_modules/@deno/shim-deno/dist/deno/stable/main.js ./node_modules/@deno/shim-deno/dist/deno.js ./node_modules/@deno/shim-deno/dist/index.js ./node_modules/o-son/script/_dnt.shims.js ./node_modules/o-son/script/constructors.js ./node_modules/o-son/script/oson.js ./node_modules/o-son/script/mod.js ./node_modules/@grammyjs/conversations/out/deps.node.js ./node_modules/@grammyjs/conversations/out/conversation.js ./node_modules/@grammyjs/conversations/out/mod.js ./bot/conversations/index.ts ./app/api/bots/admin/route.ts ./node_modules/next/dist/build/webpack/loaders/next-edge-app-route-loader/index.js?absolutePagePath=%2FUsers%2Fyaroslav%2FDesktop%2Fpersonal%2Fbookthing%2Fapp%2Fapi%2Fbots%2Fadmin%2Froute.ts&page=%2Fapi%2Fbots%2Fadmin%2Froute&appDirLoader=bmV4dC1hcHAtbG9hZGVyP25hbWU9YXBwJTJGYXBpJTJGYm90cyUyRmFkbWluJTJGcm91dGUmcGFnZT0lMkZhcGklMkZib3RzJTJGYWRtaW4lMkZyb3V0ZSZhcHBQYXRocz0mcGFnZVBhdGg9cHJpdmF0ZS1uZXh0LWFwcC1kaXIlMkZhcGklMkZib3RzJTJGYWRtaW4lMkZyb3V0ZS50cyZhcHBEaXI9JTJGVXNlcnMlMkZ5YXJvc2xhdiUyRkRlc2t0b3AlMkZwZXJzb25hbCUyRmJvb2t0aGluZyUyRmFwcCZwYWdlRXh0ZW5zaW9ucz10c3gmcGFnZUV4dGVuc2lvbnM9dHMmcGFnZUV4dGVuc2lvbnM9anN4JnBhZ2VFeHRlbnNpb25zPWpzJnJvb3REaXI9JTJGVXNlcnMlMkZ5YXJvc2xhdiUyRkRlc2t0b3AlMkZwZXJzb25hbCUyRmJvb2t0aGluZyZpc0Rldj10cnVlJnRzY29uZmlnUGF0aD10c2NvbmZpZy5qc29uJmJhc2VQYXRoPSZhc3NldFByZWZpeD0mbmV4dENvbmZpZ091dHB1dD0mcHJlZmVycmVkUmVnaW9uPSZtaWRkbGV3YXJlQ29uZmlnPWUzMCUzRCE%3D&nextConfigOutput=&preferredRegion=&middlewareConfig=e30%3D!
When tried to host a bot on Vercel's Edge API route with conversations, the following error logged in the console locally