:wave: I use prisma and I have this in `seed.json`...
# help
k
👋 I use prisma and I have this in `seed.json`:
Copy code
before_build:
  - yarn prisma:deploy
"prisma:deploy": "npx prisma migrate deploy"
When deployed I see there is an error in seed
Copy code
ENOENT: no such file or directory, open '/var/task/backend/functions/schema.prisma'
What should I do?
f
Hey @Karolis Stulgys, does this path exist
'/var/task/backend/functions/schema.prisma'
?
k
What do you mean?
as I understand this path is created after build
but my
.build
does not have this path when I build locally
should I add some
before_deploy
script to
cp schema.prisma
?
@Frank any ideas?
it's all good I figure this out. My mistake
Actually still having this issue...
ok, figured this out again 😄
e
hey! what was the fix here? @Karolis Stulgys running into the same thing
k
Hey sorry, for late reply, I don't remember actually, will add more details when I play around with it again