not able to run drizzle-kit

I am getting this error
$ drizzle-kit introspect
bash: drizzle-kit: command not found
$ drizzle-kit introspect
bash: drizzle-kit: command not found
I have drizzle-kit in my package.json
No description
No description
1 Reply
Boby
BobyOP7mo ago
nevermind, I managed to run it using prefix npx but now I am getting another error.
$ npx drizzle-kit push
drizzle-kit: v0.21.4
drizzle-orm: v0.30.10

No config path provided, using default path
Reading config file 'C:\Users\win 10\Desktop\yogurt\drizzle.config.ts'
Invalid input Either "url" or "host", "database" are required for database connection
$ npx drizzle-kit push
drizzle-kit: v0.21.4
drizzle-orm: v0.30.10

No config path provided, using default path
Reading config file 'C:\Users\win 10\Desktop\yogurt\drizzle.config.ts'
Invalid input Either "url" or "host", "database" are required for database connection
Want results from more Discord servers?
Add your server