prisma: Always get unexpected error while trying `prisma2 dev`

I was trying Prisma Studio for the 1st time. I typed prisma2 dev in terminal & keep getting this

Error Prisma Studio

My Prisma version is latest preview-13

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 24 (23 by maintainers)

Most upvoted comments

@deadcoder0904 That is a separate issue, please create an issue here: https://github.com/prisma/studio

@divyenduz I opened 3 separate issues here β†’ https://github.com/prisma/studio/issues/182, https://github.com/prisma/studio/issues/183 & https://github.com/prisma/studio/issues/184

That is by design here, as this should be a full screen interactive view. (Still good if you create an issue that this confused you over at prisma/studio)

@janpio I explained why it affected me here β†’ https://github.com/prisma/studio/issues/184#issue-500383752

TL;DR i was using terminal with height small so I couldnt see the endpoint. wasted 15 mins trying to find endpoint url then expanded my terminal to find it. maybe put the endpoint above everything else. after all, its the most important part of studio πŸ˜ƒ

From my understanding it is the _Migration table to be deleted @deadcoder0904

Please let us know, if it’s the missing field 'original_steps' error.

We just updated the error prompt in preview-13.1 to also include the stack trace. The concrete problem is very likely a breaking change in the migrations table, which Lift creates in your database. You can read more about the breaking change here https://github.com/prisma/prisma2/releases/tag/2.0.0-preview-13

Thanks for reporting this @deadcoder0904, we are aware and working on fixing this right now (assuming you are hitting the same one). There should be a hotfix out soon-ish - the straight forward way here is for you to then try again and let us know if this fixed the issue for you.