theom
07/08/2018, 7:10 PMtheom
07/09/2018, 11:53 AMKyleG
07/09/2018, 5:47 PM.env
in the project's root directory?KyleG
07/09/2018, 5:54 PM.env
(or anything ending with it as an extension, for example aws.env
) that has variables defined in it that are, when execution starts, loaded as environment variables (if you happen to not know what those are - I imagine you must - but in not, just google it) for the project. Those things you uncommented in in the .yml file? They're like ${env:PRISMA_SECRET}
right? That's the environment variable PRISMA_SECRET
being referenced. If it's not defined, you get the error. You define it with .env
. If you don't have .env
, it's not defined.KyleG
07/09/2018, 5:58 PMgraphql create
locally it should've provided you a .env
file (if not, it's a bug!). But if you didn't, maybe you cloned the project from somewhere? Then it wouldn't be included because .env
is in the .gitignore
file.KyleG
07/09/2018, 5:59 PM.env
to make it easier for anyone who happened to clone my project to be able to run it immediately: https://github.com/TiE23/p-b-fragments-bug/blob/master/.envKyleG
07/09/2018, 6:00 PM