hanako
hanako
Explore posts from servers
DTDrizzle Team
Created by hanako on 5/8/2024 in #help
cannot find module 'drizzle-orm/pg-core' on pnpm
running pnpm dlx drizzle-kit push:pg gave me this error
node:internal/modules/cjs/loader:1147
throw err;
^

Error: Cannot find module 'drizzle-orm/pg-core'
Require stack:
- /mnt/36A097D5A09799C7/.pnpm-store/v3/tmp/dlx-38698/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs
at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
at Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at src/serializer/studio.ts (/mnt/36A097D5A09799C7/.pnpm-store/v3/tmp/dlx-38698/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs:60369:23)
at __init (/mnt/36A097D5A09799C7/.pnpm-store/v3/tmp/dlx-38698/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs:9:56)
at Object.<anonymous> (/mnt/36A097D5A09799C7/.pnpm-store/v3/tmp/dlx-38698/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs:66004:1)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/mnt/36A097D5A09799C7/.pnpm-store/v3/tmp/dlx-38698/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs'
]
}

Node.js v20.11.1
node:internal/modules/cjs/loader:1147
throw err;
^

Error: Cannot find module 'drizzle-orm/pg-core'
Require stack:
- /mnt/36A097D5A09799C7/.pnpm-store/v3/tmp/dlx-38698/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs
at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
at Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at src/serializer/studio.ts (/mnt/36A097D5A09799C7/.pnpm-store/v3/tmp/dlx-38698/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs:60369:23)
at __init (/mnt/36A097D5A09799C7/.pnpm-store/v3/tmp/dlx-38698/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs:9:56)
at Object.<anonymous> (/mnt/36A097D5A09799C7/.pnpm-store/v3/tmp/dlx-38698/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs:66004:1)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/mnt/36A097D5A09799C7/.pnpm-store/v3/tmp/dlx-38698/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs'
]
}

Node.js v20.11.1
2 replies