DustyShowbiz
DustyShowbiz
DTDrizzle Team
Created by DustyShowbiz on 5/12/2024 in #help
Error when creating migration
I recently changed my Typescript project to compile from common js to modules. Since the change I have got this error when running drizzle-kit generate Reading config file '/Users/user/Desktop/project/api/drizzle.config.ts' Error: Cannot find module './projects.js' - /Users/user/Desktop/project/api/node_modules/drizzle-kit/bin.cjs at Module._resolveFilename (node:internal/modules/cjs/loader:1202:15) at Module._resolveFilename (/Users/user/Desktop/project/api/node_modules/drizzle-kit/bin.cjs:11284:40) at Module._load (node:internal/modules/cjs/loader:1027:27) at Module.require (node:internal/modules/cjs/loader:1290:19) Any help is appreciated.
6 replies