New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npx prisma studio
throws spawn undefined\System32\WindowsPowerShell\v1.0\powershell ENOENT
error on windows
#767
Comments
Did I understand correctly that it works with Prisma 2.29 but not 2.30? |
@janpio Yes, 2.29 works well.
Also, |
I can confirm this regression:
This shows the problem with prisma@dev and @latest, but it working with 2.29.1 (working = fails with error about missing model in schema - but it opened the browser window as it should) Thanks for the report! |
Quick research: No idea why that env var is suddenly not available any more :( Someone from Prisma will look into this. |
Some more research: Last chagne to Studio via PR is prisma/prisma#8767 Meaning: Broken:
Working:
dev.19 = failing |
A fix was just released in Prisma CLI Let us know if this indeed fixes it (or not) 😉 |
It works well after updating to 2.30.3. Thanks. |
I still have the problem with v. 2.31.0. Im using blitz.js by the way. |
Hey @rRakarare, Very weird.. If you could test it out with the latest Prisma (3.1.1) as well and let me know if you still see it, that'd be really appreciated! |
Yep, with the latest version of Prisma (3.1.1) it's working properly. No errors. |
prisma -v
ornpx prisma -v
):prisma
alpha? (npm i -D @prisma/cli@dev
): Yes.I tested with prisma@2.29 and it worked well. Also,
npx prisma studio --browser none
works well.It seems something wrong with launching browser in windows env.
The text was updated successfully, but these errors were encountered: