drizzle seed with postgress this error: Cannot find package '@electric-sql/pglite'

import { drizzle } from 'drizzle-orm/node-postgres'
import { reset, seed } from 'drizzle-seed'

import { user } from '../schema'
import * as schema from '../schema'

const dbUrl = process.env.NUXT_DATABASE_POSTGRES_URL as string

async function main() {
  const db = drizzle(dbUrl)
  await reset(db, schema)
  await seed(db, { user })
}

main()
Was this page helpful?