Haven't even updated any of the packages but started getting this errors when trying to do drizzle-kit push or drizzle-kit studio
➜ pnpm db:studio
> nfc-portal@0.1.0 db:studio /Users/a3tech/Developer/personal_projects/nfc-portal
> drizzle-kit studio --port=5555
No config path provided, using default 'drizzle.config.ts'
Reading config file '/Users/a3tech/Developer/personal_projects/nfc-portal/drizzle.config.ts'
Error: Transform failed with 1 error:
/Users/a3tech/Developer/personal_projects/nfc-portal/src/lib/utils.tsx:276:26: ERROR: Expected ">" but found "{"
at failureErrorWithLog (/Users/a3tech/Developer/personal_projects/nfc-portal/node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js:1651:15)
at /Users/a3tech/Developer/personal_projects/nfc-portal/node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js:849:29
at responseCallbacks.<computed> (/Users/a3tech/Developer/personal_projects/nfc-portal/node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js:704:9)
at handleIncomingPacket (/Users/a3tech/Developer/personal_projects/nfc-portal/node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js:764:9)
at Socket.readFromStdout (/Users/a3tech/Developer/personal_projects/nfc-portal/node_modules/.pnpm/esbuild@0.19.12/node_modules/esbuild/lib/main.js:680:7)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) {
errors: [
{
detail: undefined,
id: '',
location: [Object],
notes: [],
pluginName: '',
text: 'Expected ">" but found "{"'
}
],
warnings: []
}
What version of
drizzle-orm
are you using?0.33.0
What version of
drizzle-kit
are you using?0.24.2
Describe the Bug
Haven't even updated any of the packages but started getting this errors when trying to do
drizzle-kit push
ordrizzle-kit studio
this is my config file
Expected behavior
well it should work as before
Environment & setup
No response