I started using postgres with next js 14/13 and initially it worked just fine, but out of no where there is compile error with the following error. Can anyone guide on what should be done? #755
Unanswered
codeAdityagithub
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Import trace for requested module:
cloudflare:sockets
./node_modules/postgres/cf/polyfills.js
./node_modules/postgres/cf/src/index.js
./src/utils/db.ts
./src/app/api/auth/[...nextauth]/route.ts
Beta Was this translation helpful? Give feedback.
All reactions