No config path provided, using default 'drizzle.config.ts
also tried deleting node-module then runing npm i drizzle-orm @Neondatabase/serverless ... still said it needs to be updated if i run drizzle-kit studio
23 Replies
npm i -D drizzle-kit
also please note, this config has the same mistake you made in your previous post, you do not need driver
npm i -D drizzle-kit
dotenv is installed too
thank youuu sooo much T^T
you might need to rerun
PS C:\Users\popca\Desktop\Attemp3\duolingo-clone> npm i -D drizzle-kit
added 9 packages, and audited 665 packages in 11s
PS C:\Users\popca\Desktop\Attemp3\duolingo-clone> npm i drizzle-orm @Neondatabase/serverless
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
added 38 packages, removed 1 package, changed 2 packages, and audited 702 packages in 15s
added 38 packages, removed 1 package, changed 2 packages, and audited 702 packages in 15s
added 38 packages, removed 1 package, changed 2 packages, and audited 702 packages in 15s
added 38 packages, removed 1 package, changed 2 packages, and audited 702 packages in 15s
added 38 packages, removed 1 package, changed 2 packages, and audited 702 packages in 15s
added 38 packages, removed 1 package, changed 2 packages, and audited 702 packages in 15s
176 packages are looking for funding
run
npm fund
for details
4 high severity vulnerabilities
To address issues that do not require attention, run:
npm audit fix
To address all issues, run:
npm audit fix --force
Run npm audit
for details.
PS C:\Users\popca\Desktop\Attemp3\duolingo-clone> npx drizzle-kit studio
drizzle-kit: v0.20.18
drizzle-orm: v0.30.10
No config path provided, using default path
Reading config file 'C:\Users\popca\Desktop\Attemp3\duolingo-clone\drizzle.config.ts'
Invalid input You need to specify a "driver" param in you config. It will help drizzle to know how to query you database. You can read more about drizzle.config: https://orm.drizzle.team/kit-docs/config-referenceDrizzle ORM - Config Reference
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
whats in your tsconfig
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/": ["./"]
}
},
"include": ["next-env.d.ts", "/*.ts", "/.tsx", ".next/types/**/.ts"],
"exclude": ["node_modules"]
}
why do you old version of drizzle still?
brooo your soooooooooooooooooooooooo goooooooooooooooooooood
T^T
i hope your family for health and more blessings ... i hope you have nice dinner tommorow T^T
finalllyyyyyyyyyy
still theres a bug but finally T^T
again thank youuu soo much i can finally move T^T @Darren
np gl hf