Apostle Tree
Apostle Tree
Explore posts from servers
DTDrizzle Team
Created by Apostle Tree on 4/17/2024 in #help
Help with this error. "Can't find meta/_journal.json file"
Hi guys! I am new here and recently started learning how ORMs work and started with drizzle. I built my schema and managed to successfully generate a migration file for it. However, I am unable to actually migrate this to the database. I'm getting the following error
> [email protected] db:migrate
> node drizzle/migrate.js

Error during migration: Error: Can't find meta/_journal.json file
at readMigrationFiles (backend\node_modules\drizzle-orm\migrator.cjs:52:11)
at migrate (backend\node_modules\drizzle-orm\neon-http\migrator.cjs:27:61)
at main (backend\drizzle\migrate.js:11:15)
> [email protected] db:migrate
> node drizzle/migrate.js

Error during migration: Error: Can't find meta/_journal.json file
at readMigrationFiles (backend\node_modules\drizzle-orm\migrator.cjs:52:11)
at migrate (backend\node_modules\drizzle-orm\neon-http\migrator.cjs:27:61)
at main (backend\drizzle\migrate.js:11:15)
I have checked my migrate.js file but cannot understand what the problem might be For context, I'm using the neon database server.
22 replies