please install required packages: 'drizzle-orm'

I'm getting the following error when I run drizzle-kit push. I don't think I changed anything and drizzle-orm is definitely installed and working in my app. Any ideas?
7 Replies
Reko
Reko4w ago
what package manager are you using?
Mario564
Mario5644w ago
@willm Hi. Are you using a monorepo? Have you tried upgrading both Kit and ORM to latest?
willm
willmOP4w ago
I am using a monorepo. I’m using turborepo. I believe I tried upgrading both but I’m not positive. I’ll try later today when I’m on my laptop and I’ll let you know
Mario564
Mario5644w ago
We're aware of this kind of issue within monorepo setups CC: @Andrii Sherman
willm
willmOP4w ago
is it a recent development? Everything was fine for the last week copying the drizzle-orm folder from the app's node_modules to node_modules in the root of the turborepo project works
Mario564
Mario5644w ago
It's been a persistent issue, I believe it occurs after updating one or both packages Have you tried deleting the node_modules folder(s), reinstalling the packages and see if that works?
willm
willmOP4d ago
yeah I've tried this a few times. I can't get it to work without the workaround described above

Did you find this page helpful?