-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Invalid prisma/.env
leads to confusing error message
#1739
Comments
We need to fix this. Sounds like a easy fix so I am going to candidate this. This is still an issue. I get the same message. Looks like env var is getting ignored if it is invalid. |
Note: The source of this error might be in quaint. |
I think we should clean this up in Typescript. I don't think Rust needs to know anything about this.
|
Do I understand this correctly, that in the case @janpio pointed above, the URL sent to the engines is:
Meaning, the first character is
|
Still not very helpful for me to figure out my What does the Engine actually see here? Does it get the |
Now it's catched by the datamodel parser and errored out. So instead of starting with |
@pantharshit00 Just encountered this error on a brand new project DATABASE_URL="mysql://root:password@localhost:3306/controltower" This fails. but works when I remove the quotes |
@iRoachie Please open a new issue with a minimal reproduction. Then we can look into it properly and fix it :) |
This
prisma/.env
:(note the missing
"
at the end)leads to this confusing error message:
The text was updated successfully, but these errors were encountered: