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: 3 comments 4 replies
-
same issues, were you able to resolve this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think upgrading to 3.4.4 should do it |
Beta Was this translation helpful? Give feedback.
1 reply
-
Sorry. My mistake. Forgot that I hadn't released the latest on main.. Try `npm I porsager/postgres`On 7 Jun 2024, at 23.22, Kamal Singh ***@***.***> wrote:
Using 3.4.4 still fiving following error in nextjs.
⨯ 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.
Import trace for requested module:
cloudflare:sockets
./node_modules/postgres/cf/polyfills.js
./node_modules/postgres/cf/src/index.js
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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