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
I stopped (ctrl+c) the process in the terminal and run the
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