Julian1001
Julian1001
Explore posts from servers
DTDrizzle Team
Created by Julian1001 on 6/19/2023 in #help
Introspect command failing
I'm setting up Drizzle for the first time, I'm trying to get the introspect command to run with mysql / planetscale. When I run introspect I get "Expected undefined or a fully resolved URL string to be returned for the "responseURL" from the "drizzle-kit/loader.mjs 'load'" function but got instance of String.". Has anyone seen this one before? package.json
"scripts": {
"introspect": "drizzle-kit introspect:mysql"
}
"scripts": {
"introspect": "drizzle-kit introspect:mysql"
}
Config
export default {
schema: './src/db/*',
out: './drizzle',
driver: 'mysql2',
dbCredentials: {
connectionString: process.env.DATABASE_URL!,
},
} satisfies Config
export default {
schema: './src/db/*',
out: './drizzle',
driver: 'mysql2',
dbCredentials: {
connectionString: process.env.DATABASE_URL!,
},
} satisfies Config
17 replies