nilan
07/03/2018, 1:09 PMnilan
07/03/2018, 1:09 PMharmony
07/03/2018, 1:11 PMnilan
07/03/2018, 1:19 PMprisma version
? šnilan
07/03/2018, 1:19 PMprisma.yml
look like?Nick
07/03/2018, 1:20 PMNick
07/03/2018, 1:28 PMprisma verison
does not affect I'm using the old one that is recommend 1.6.3Nick
07/03/2018, 1:29 PMnilan
07/03/2018, 1:30 PMprisma version
šNick
07/03/2018, 1:31 PMnilan
07/03/2018, 1:31 PMnilan
07/03/2018, 1:32 PM1.6.3
doesn't use endpoint
, but uses the three properties service
, stage
and cluster
in prisma.yml
nilan
07/03/2018, 1:32 PMendpoint
and un-comment service
, stage
and cluster
in prisma.yml
šNick
07/03/2018, 1:35 PMnilan
07/03/2018, 1:35 PMNick
07/03/2018, 1:39 PMprisma deploy
, node src/index.js
and graphql playground
it changes the prisma.yml file. Everything you did before gets undoneNick
07/03/2018, 1:43 PMNick
07/03/2018, 1:43 PMnilan
07/03/2018, 1:47 PMNick
07/03/2018, 1:48 PMstage: dev
looks like this and when I ran the commands
it looks like this #stage: dev
nilan
07/03/2018, 1:49 PMprisma deploy
or something like yarn prisma deploy
instead? Do you have prisma
installed as a dev dependency?Nick
07/03/2018, 1:49 PMprisma deploy
Nick
07/03/2018, 1:50 PMyarn install
nilan
07/03/2018, 1:51 PMprisma version
in an unrelated folder somewhere else in your file system, is it the same version as above?Nick
07/03/2018, 1:52 PMprisma/1.6.3 (windows-x64) node-v9.10.1
Nick
07/03/2018, 1:53 PMnilan
07/03/2018, 1:53 PM1.6.3
version š You can manually adjust prisma.yml
for now, and once you are done with the tutorial you can switch over to the latest version šNick
07/03/2018, 1:55 PMnilan
07/03/2018, 1:55 PMinvalid signature
errorNick
07/03/2018, 1:58 PMnilan
07/03/2018, 1:58 PMnilan
07/03/2018, 1:59 PMNick
07/03/2018, 2:01 PMprisma token
command and using on the authorization headernilan
07/03/2018, 2:01 PMNick
07/03/2018, 2:02 PMharmony
07/03/2018, 2:02 PMNick
07/03/2018, 2:02 PMhttps://prisma.slack.com/files/UAN5C5FTK/FBJ2X9KMH/screenshot__55_.pngā¾
Nick
07/03/2018, 2:02 PMharmony
07/03/2018, 2:03 PMprisma token
is valid for prisma, not your node serverharmony
07/03/2018, 2:04 PMNick
07/03/2018, 2:08 PMNick
07/03/2018, 2:10 PMnilan
07/03/2018, 2:10 PMprisma token
to access
⢠app project: your GraphQL Server API. Need to run login
or signup
(or similar, depends on your GraphQL server) to generate a valid token. Need to provide this token for mutations like post
.Nick
07/03/2018, 2:13 PMnilan
07/03/2018, 2:14 PMNick
07/03/2018, 2:14 PMnilan
07/03/2018, 2:14 PMsignup
first ensures that the user exists, and the token is validNick
07/03/2018, 2:16 PM"message": "invalid signature",
nilan
07/03/2018, 2:17 PMharmony
07/03/2018, 2:20 PMharmony
07/03/2018, 2:22 PMBearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjamo1cnpibDE5OHd3MGI2NHF0NnoxYjJ1IiwiaWF0IjoxNTMwNjI3MzEyfQ.QVURhUUOASWn5tkWhltVR9-MFOe6JIHmMNqteaDVsoY
Nick
07/03/2018, 2:22 PMprisma token
on cmd then placed the token on header {
"Authorization": "Bearer TOKEN"
}harmony
07/03/2018, 2:23 PMprisma token
harmony
07/03/2018, 2:23 PMNick
07/03/2018, 2:23 PMNick
07/03/2018, 2:24 PMNick
07/03/2018, 2:25 PM