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
My Prisma version is latest preview-13
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 24 (23 by maintainers)
@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
@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 @deadcoder0904Please 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-13Thanks 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.