drizzle-kit generate requires sudo to create directory and SyntaxError on index.cjs, Unexpected "?"

I'm currently getting the above error when trying to generate a migration or spin up drizzle studio: Bun 0.81 drizzle-orm: 0.28.5 drizzle-kit: 0.19.13 I am also using 'postrgres-js' and 'postgres' drivers in the migration generation - which I have moved to a file outside the base server - any help/suggestions would be appreciated!
2 Replies
Andrii Sherman
Andrii Sherman16mo ago
I think this issue is not with drizzle-kit directly. Can you share some repo, so I can clone it and reproduce this error?
most.dope
most.dopeOP16mo ago
Ahhh i see, I have a feeling it could be to do with Bun's module resolution - i will re-read the docs and try again. Will send a repo link if i have no success, thanks!
Want results from more Discord servers?
Add your server