How do I generate this `src/generated/prisma.graph...
# orm-help
f
How do I generate this
src/generated/prisma.graphql
in Prisma 1.7
n
Hey @flamez, I’m currently fixing the How to GraphQL projects. Which tutorial are you referring to? Node.JS or React & Apollo?
f
NodeJS
I’m to write this
prisma deploy
and expect this
Copy code
Writing database schema to `src/generated/prisma.graphql`  1ms
n
Ok, so for now please use the Prisma CLI version
1.6.3
if you’re going through that tutorial. I’ll do a major to update soon to accommodate for the latest
1.7
release.
You can install the concrete Prisma CLI version with
npm install -g prisma@1.6.3
If you want to use version
1.7
, please check out the corresponding upgrade guide: https://www.prisma.io/docs/reference/upgrade-guides/upgrading-prisma/upgrade-to-1.7-iquaecuj6b
f
Thanks @nikolasburk
Copy code
Invalid prisma.yml file
Copy code
▸    prisma.yml should NOT have additional properties. additionalProperty: endpoint
I wll go with
1.6
k
In case it helps @flamez I had the same error yesterday and the cause was that my global grahql-cli wasn't up to date. I resolved it by running
npm install -g graphql-cli@2.15.11
and then deploying (or running
graphql prepare
) again.
f
Thanks @kuldar