Moray
Moray
Explore posts from servers
DTDrizzle Team
Created by Moray on 10/11/2024 in #help
Error when pulling from MySQL
I'm following the instructions on https://orm.drizzle.team/docs/get-started/mysql-existing and have just installed Drizzle Kit 0.25.0. However when I run yarn drizzle-kit pull, I get the following error:
/<path redacted>/node_modules/drizzle-kit/bin.cjs:30727
Request2 = class extends GlobalRequest {
^

TypeError: Class extends value undefined is not a constructor or null
at ../node_modules/.pnpm/@[email protected]/node_modules/@hono/node-server/dist/index.mjs (/<path redacted>/node_modules/drizzle-kit/bin.cjs:30727:5)
at __init (/<path redacted>/node_modules/drizzle-kit/bin.cjs:10:56)
at src/serializer/studio.ts (/<path redacted>/node_modules/drizzle-kit/bin.cjs:62369:5)
at __init (/<path redacted>/node_modules/drizzle-kit/bin.cjs:10:56)
at Object.<anonymous> (/<path redacted>/node_modules/drizzle-kit/bin.cjs:83722:1)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
/<path redacted>/node_modules/drizzle-kit/bin.cjs:30727
Request2 = class extends GlobalRequest {
^

TypeError: Class extends value undefined is not a constructor or null
at ../node_modules/.pnpm/@[email protected]/node_modules/@hono/node-server/dist/index.mjs (/<path redacted>/node_modules/drizzle-kit/bin.cjs:30727:5)
at __init (/<path redacted>/node_modules/drizzle-kit/bin.cjs:10:56)
at src/serializer/studio.ts (/<path redacted>/node_modules/drizzle-kit/bin.cjs:62369:5)
at __init (/<path redacted>/node_modules/drizzle-kit/bin.cjs:10:56)
at Object.<anonymous> (/<path redacted>/node_modules/drizzle-kit/bin.cjs:83722:1)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
I'm using Node 16 on Linux 6.11.2-arch1-1 Any ideas?
1 replies