N
Neon6mo ago
sunny-green

Using neon with honoX

Hey! I am trying to use neon with an app i built on honoX (https://github.com/honojs/honox) but i run into a bit of issues. When i follow this guide https://neon.tech/docs/guides/cloudflare-workers i get this:
All attempts to open a WebSocket to connect to the database failed. Please refer to https://github.com/neondatabase/serverless/blob/main/CONFIG.md#websocketconstructor-typeof-websocket--undefined. Details: fetch failed
All attempts to open a WebSocket to connect to the database failed. Please refer to https://github.com/neondatabase/serverless/blob/main/CONFIG.md#websocketconstructor-typeof-websocket--undefined. Details: fetch failed
So when i add the ws package i get require is not defined. What should I do?
GitHub
GitHub - honojs/honox: HonoX - Hono based meta framework
HonoX - Hono based meta framework. Contribute to honojs/honox development by creating an account on GitHub.
Neon
Use Neon with Cloudflare Workers - Neon Docs
Cloudflare Workers is a serverless platform allowing you to deploy your applications globally across Cloudflare's network. It supports running JavaScript, TypeScript, and WebAssembly, making it a grea...
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?