Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloudflare:sockets error @ 0.4.8 #20

Closed
mgarf opened this issue May 27, 2023 · 3 comments
Closed

cloudflare:sockets error @ 0.4.8 #20

mgarf opened this issue May 27, 2023 · 3 comments

Comments

@mgarf
Copy link

mgarf commented May 27, 2023

Steps to reproduce

Setup Next.JS with serverless package and Drizzle ORM

Expected result

No Error on npm run dev

Actual result

cloudflare:sockets
Module build failed: UnhandledSchemeError: Reading from "cloudflare:sockets" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "cloudflare:" URIs.

Environment

Logs, links

@mgarf
Copy link
Author

mgarf commented May 27, 2023

Seems related to brianc/node-postgres#2975

@jawj
Copy link
Collaborator

jawj commented May 28, 2023

Ah: seems like we should hold back the pg version we rely on until we've investigated how Cloudflare sockets support works. I've just published 0.4.9 that does that — does this new version work for you?

@jawj
Copy link
Collaborator

jawj commented Jun 6, 2023

@mgarf Could you confirm if 0.4.9 works, or are you still having problems?

@jawj jawj closed this as completed Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants