-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
When running vitests for cloudflare workers, via vitest-pool-workers, I started getting these:
Error: No such module "node:process".
❯ ../../Users/user/owlie/node_modules/.pnpm/pg-connection-string@2.10.0/node_modules/pg-connection-string/index.js?mf_vitest_no_cjs_esm_shim:3:25
❯ ../../Users/user/owlie/node_modules/.pnpm/pg@8.17.1/node_modules/pg/lib/connection-parameters.js?mf_vitest_no_cjs_esm_shim:7:15
❯ ../../Users/user/owlie/node_modules/.pnpm/pg@8.17.1/node_modules/pg/lib/client.js?mf_vitest_no_cjs_esm_shim:9:30
❯ ../../Users/user/owlie/node_modules/.pnpm/pg@8.17.1/node_modules/pg/lib/index.js?mf_vitest_no_cjs_esm_shim:3:16
I jumped from v8.16.3 to v8.17.1 this also bumped pg-connection-string from 2.9.1 → 2.10.0
I compared local index.js between 2.9.1 and 2.10.0, and the new node:process import + SSL warning helper is the only substantive change (and it explains the failure).
Metadata
Metadata
Assignees
Labels
No labels