Tutorial: Migrations fail to run in Netlify CI

Followed the tutorial and am stuck like 1 meter before the finish line, here’s the error I’m getting in Netlify CI:

11:02:23 AM: Running command "yarn rw db up --no-db-client && yarn rw build"
11:02:46 AM: yarn run v1.17.0
11:02:46 AM: $ /opt/build/repo/node_modules/.bin/rw db up --no-db-client
11:02:46 AM: Migrate database up... [started]
11:02:46 AM: $ /opt/build/repo/node_modules/.bin/prisma2 migrate up --experimental --create-db
11:02:46 AM: Error: Can't parse migration engine response:
11:02:46 AM: undefined
11:02:46 AM: error Command failed with exit code 1.
11:02:46 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
11:02:46 AM: Migrate database up... [failed]
11:02:46 AM: → Command failed with exit code 1: yarn prisma2 migrate up --experimental --create-db
11:02:46 AM: Command failed with exit code 1: yarn prisma2 migrate up --experimental --create-db

Here is my code, I changed the DB engine to Postgres and added the Postgres Addon on Heroku successfully so that shouldn’t be the problem: GitHub - chapati23/redwood-blog: test-driving redwoodjs

1 Like

This looks like an issue with Prisma2, I’m going to open up a ticket in their repo to see if they have a fix for it.