sanity-io / sanity-template-gatsby-portfolio

A Gatsby portfolio site powered by Sanity for https://www.sanity.io/create
https://www.sanity.io/create/?template=sanity-io%2Fsanity-template-gatsby-portfolio
69 stars 18 forks source link

GraphQL redeploy never finishes #42

Open edcornish opened 4 years ago

edcornish commented 4 years ago

Hi, following the tutorial: https://www.youtube.com/watch?time_continue=241&v=aMHNnAqNgXU&feature=emb_title

and I'm OK until the 8:00 point where the GraphQL API is redeployed. When I run the same command I get the following message indefinitely:

lerna notice cli v3.16.3 lerna info Executing command in 1 package: "npm run graphql-deploy"

Is there something I'm doing wrong? Any help appreciated.

Thanks, Ed

jonohewitt commented 3 years ago

Did you manage to resolve this? I'm having the same issue.

jonohewitt commented 3 years ago

Just been given a workaround in the Slack chat - cd into the studio folder and run sanity graphql deploy, confirming the changes to the graphql schema

hallvors commented 3 years ago

Doing this will fail if you have not yet added a token from Sanity.

andybir commented 3 years ago

Just been given a workaround in the Slack chat - cd into the studio folder and run sanity graphql deploy, confirming the changes to the graphql schema

Doing this worked for me