Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm facing error when i have to deploy graphql in studio folder using this commnd : sanity graphql deploy #15

Open
mohil-8twelve-mortgage opened this issue Mar 30, 2023 · 1 comment

Comments

@mohil-8twelve-mortgage
Copy link

✔ Checking for deployed API
? Do you want to enable a GraphQL playground? Yes
✔ Generating GraphQL schema
✖ Validating GraphQL API

ReferenceError: URL is not defined
at handler (C:/Users/INILPTP044/AppData/Roaming/npm/node_modules/@sanity/cli/node_modules/get-it/src/middleware/defaultOptionsProcessor.ts:13:15)
at applyMiddleware (C:/Users/INILPTP044/AppData/Roaming/npm/node_modules/@sanity/cli/node_modules/get-it/src/util/middlewareReducer.ts:8:15)
at requester (C:/Users/INILPTP044/AppData/Roaming/npm/node_modules/@sanity/cli/node_modules/get-it/src/createRequester.ts:44:21)
at httpRequest (C:/Users/INILPTP044/AppData/Roaming
Screenshot 2023-03-30 204908
/npm/node_modules/@sanity/client/dist/index.js:107:12) at Observable._subscribe (C:/Users/INILPTP044/AppData/Roaming/npm/node_modules/@sanity/client/dist/index.js:821:3)
at Observable._trySubscribe (C:/Users/INILPTP044/AppData/Roaming/npm/node_modules/rxjs/dist/esm5/internal/Observable.js:38:25)
at cb (C:/Users/INILPTP044/AppData/Roaming/npm/node_modules/rxjs/dist/esm5/internal/Observable.js:32:31) at errorContext (C:/Users/INILPTP044/AppData/Roaming/npm/node_modules/rxjs/dist/esm5/internal/util/errorContext.js:19:9)
at Observable.subscribe (C:/Users/INILPTP044/AppData/Roaming/npm/node_modules/rxjs/dist/esm5/internal/Observable.js:23:9)
at C:/Users/INILPTP044/AppData/Roaming/npm/node_modules/rxjs/dist/esm5/internal/operators/filter.js:6:16
Screenshot 2023-03-30 204908

@PhantomLord666
Copy link

Is the version of cli, you have to use v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants