Next Js middleware error " ⨯ cloudflare:socketsModule build failed: UnhandledSchemeError: Readin":

Curren discussion: https://github.com/vercel/next.js/discussions/50177 The changes not working to me 😦
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/.pnpm/[email protected]/node_modules/postgres/cf/polyfills.js
../../node_modules/.pnpm/[email protected]/node_modules/postgres/cf/src/index.js
../../core/database/src/db/index.ts
./server/auth.ts
Compiled in 27ms (85 modules)
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/.pnpm/[email protected]/node_modules/postgres/cf/polyfills.js
../../node_modules/.pnpm/[email protected]/node_modules/postgres/cf/src/index.js
../../core/database/src/db/index.ts
./server/auth.ts
Compiled in 27ms (85 modules)
GitHub
cloudflare plugin · vercel next.js · Discussion #50177
Summary Hi, I am a new developer trying to create a tool to visualize sql data tables, and to render and visualize the tables, I need a PostgreSQL URI so that i can connect to that database, but i ...
1 Reply
Mykhailo
Mykhailo5mo ago
Hey @Carlos Ziegler! What db client are you using?
Want results from more Discord servers?
Add your server