`yarn rw db save` never finishes on Windows [workaround]

Edit 6/17 This has been fixed in the main branch and will be available as of Redwood v0.11.0

See: Add `--create-db` to `yarn rw db save` command. by peterp · Pull Request #708 · redwoodjs/redwood · GitHub

There is a known issue for Windows users that results in Prisma “hanging” the first time yarn rw db save is run.

Simple Workaround

  1. kill the process with Ctrl+C
  2. run the command again.

On the second run, the command will complete successfully. Further Prisma commands will run correctly.


For more information about this issue and the status of a resolution, see Issue #575