A valid environment variable to satisfy the declaration 'env:PRISMA_ENDPOINT' could not be found.
TheoMer opened this issue · comments
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?
@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?