Carlos Ziegler
Carlos Ziegler
DTDrizzle Team
Created by Carlos Ziegler on 6/6/2024 in #help
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)
2 replies