when running `prisma generate` with JS option, it'...
# orm-help
r
when running
prisma generate
with JS option, it's creating this string:
Copy code
endpoint: `${process.env["PRISMA_ENDPOINT"]}}${process.env["PRISMA_STAGE"]}}`,
which is producing this string:
<http://localhost:4466/backend/}dev}>
- anyone seen this before?
s
Hey, looks like there is an extra
}
right ? Can't you replace the endpoint by
${process.env["PRISMA_ENDPOINT"]}${process.env["PRISMA_STAGE"]}}
?
Oops sorry, an extra } also at the end
${process.env["PRISMA_ENDPOINT"]}${process.env["PRISMA_STAGE"]}
m
@divyendu: this might be a regression of tims recent changes to env vars i guess
d
Thanks @marcus, indeed, this was a regression. This is fixed as a hot patch in
1.25.1
. Please install it via
npm install -g prisma
and run
prisma generate
again. Please let me know if that works for you.
r
@divyendu cheers, giving that a go now
💚 1
@divyendu took a bit on my part, but it's fixed, thanks!
🙌 1
d
Thanks for notifying! :)