You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ncc works well for pg version 8.10.0 but not 8.11.0
Here is an example:
// index.js
import pg from "pg";
export const pool = new pg.query()
When I try to compile this file using ncc build with pg version 8.11.0, it shows the following error:
ncc: Version 0.36.1
ncc: Compiling file index.js into ESM
Error: Module build failed (from ../../../AppData/Roaming/npm/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js):
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.
The text was updated successfully, but these errors were encountered:
ncc works well for pg version 8.10.0 but not 8.11.0
Here is an example:
When I try to compile this file using
ncc build
with pg version 8.11.0, it shows the following error:The text was updated successfully, but these errors were encountered: