Skip to content
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

A valid environment variable to satisfy the declaration 'env:PRISMA_ENDPOINT' could not be found. #415

Open
TheoMer opened this issue Jul 7, 2018 · 2 comments

Comments

@TheoMer
Copy link

TheoMer commented Jul 7, 2018

OS: Windows 10 Pro
Prisma: prisma/1.11.0 (windows-x64) node-v8.11.3
Boilerplate: Advanced

So, when running:

prisma token

in server/database I get the above specified error (See attached image). Both secret lines in server/database/prisma.yml and server/src/index.js have been uncommented.

What is the issue here?

prisma token generation error

@VivekNayyar
Copy link

@TheoMer This look like warnings to me.What error do you see exactly?

@TheoMer
Copy link
Author

TheoMer commented Jul 10, 2018

@VivekNayyar The only warning I'm seeing is as per what is shown in the image. If I replace the secret environment variable declarations, in both

server\database\prisma.yml

and

server\src\index.js

with the actual value specified in

server\.env

then a token is generated properly after issuing

prisma token

So the environment value is not being pulled in. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants