dg-system on main [✘!?] via 🍞 v1.0.11 via v20.10.0
❯ pnpm db:push
> dg-system@0.1.0 db:push /Users/barsi/Dev/dg-system
> dotenv drizzle-kit push:mysql
node:internal/modules/cjs/loader:598
throw e;
^
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './relations' is not defined by "exports" in /Users/barsi/Dev/dg-system/node_modules/drizzle-orm/package.json
at exportsNotFound (node:internal/modules/esm/resolve:294:10)
at packageExportsResolve (node:internal/modules/esm/resolve:641:9)
at resolveExports (node:internal/modules/cjs/loader:591:36)
at Module._findPath (node:internal/modules/cjs/loader:668:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1130:27)
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/introspect-pg.ts (/Users/barsi/Dev/dg-system/node_modules/.pnpm/drizzle-kit@0.20.9/node_modules/drizzle-kit/bin.cjs:18794:24)
at __init (/Users/barsi/Dev/dg-system/node_modules/.pnpm/drizzle-kit@0.20.9/node_modules/drizzle-kit/bin.cjs:9:56) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
Node.js v20.10.0
ELIFECYCLE Command failed with exit code 1.