Craig
Craig
WWasp-lang
Created by Craig on 5/21/2024 in #πŸ™‹questions
Can't open input file .../project-name/node_modules/.bin/prisma when running wasp db migrate-dev
I'm following the tutorial and everything has been working well through step 3 (Pages & Routes). During step 4 I've added the task entity in main.wasp entity Task {=psl id Int @id @default(autoincrement()) description String isDone Boolean @default(false) psl=}
I stopped (ctrl+c) the process in the terminal and run the wasp db migrate-dev command. I'm receiving the following error ~/my-wasp-todo-project wasp db migrate-dev 🐝 --- Compiling wasp project... -------------------------------------------------- βœ… --- Successfully completed npm install. ---------------------------------------- 🐝 --- Setting up database... ----------------------------------------------------- [ Db ] [-] Removed tables [ Db ] - Task βœ… --- Database successfully set up. ---------------------------------------------- 🐝 --- Building SDK... ------------------------------------------------------------ βœ… --- SDK built successfully. ---------------------------------------------------- βœ… --- Your wasp project has successfully compiled. ------------------------------- 🐝 --- Starting database migration... --------------------------------------------- -c: can't open input file: "/teamspace/studios/this_studio/my-wasp-todo-project/node_modules/.bin/prisma" migrate dev --schema "/teamspace/studios/this_studio/my-wasp-todo-project/.wasp/out/db/schema.prisma" --skip-generate --skip-seed ❌ --- [Error] Migrate dev failed: ------------------------------------------------ Migrate (dev) failed with exit code: 127
9 replies