You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
prisma2 dev hangs after creating SQLite database #641
prisma2 init foo with Blank project > SQLite > Confirm > JavaScript > Demo script successfully creates project. After cd .. into the folder, when you run prisma2 dev you first get this, which is nice:
C:\Users\Jan\Documents\throwaway\hotfix2>prisma2 dev
You are trying to run prisma2 dev for Sqlite database dev.db.
A database with that name doesn't exist at file:dev.db.
Do you want to create the database?
┌─ Database options ─────────────────────────────────────────────────────────────────────────────────────────────────┐
│ │
│ > Yes Create new Sqlite database dev.db │
│ No Don't create the database │
│ │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Unfortunately upon selecting "Yes", the text goes away and it just hangs with a blinking cursor:
There also doesn't seem to be a way out of there besides killing the terminal that is running this, Ctrl+C does nothing.
(This has to be confirmed to not be a Windows only or problem)
Identical problem exists for Blank project > SQLite > Confirm > JavaScript > Just the Prisma schema - so all the Blank project SQLite flows seem broken right now.
Please create a new issues @MarvinAmador7, we did not look into digital ocean and postgres here. Thanks! (Possible there is already an issue about that, I vaguely remember something about DO and creating databases not being possible...)
Activity
divyenduz commentedon Sep 30, 2019
I can reproduce this with SQLite but not with MySQL.
janpio commentedon Oct 2, 2019
Same problem still exists in
2.0.0-preview-13.2.Identical problem exists for
Blank project > SQLite > Confirm > JavaScript > Just the Prisma schema- so all the Blank project SQLite flows seem broken right now.(Is does not affect the starter projects afaik)
jferrettiboke commentedon Oct 2, 2019
I can confirm this on Windows 10 with
2.0.0-preview-13.2.janpio commentedon Oct 7, 2019
janpio commentedon Oct 7, 2019
This was fixed in
2.0.0-preview013.3which is now available.MarvinAmador7 commentedon Oct 7, 2019
This still exists in
[email protected], binary version: 2b78c35cf302bf80ae5aaa863c5eee0d09541f83Following the tutorial from https://github.com/prisma/prisma2/blob/master/docs/tutorial.md using a PostGres DB from digital ocean
janpio commentedon Oct 7, 2019
Please create a new issues @MarvinAmador7, we did not look into digital ocean and postgres here. Thanks! (Possible there is already an issue about that, I vaguely remember something about DO and creating databases not being possible...)
tml-2735: golden-case library + run-one-brief harness (#641)
TML-2736: bespoke LLM judge — intent correctness signal + classifiers (…