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 have an account but still seeing this error #4194

Closed
Ben-lad opened this issue Feb 22, 2023 · 4 comments · Fixed by #4221
Closed

I have an account but still seeing this error #4194

Ben-lad opened this issue Feb 22, 2023 · 4 comments · Fixed by #4221
Labels

Comments

@Ben-lad
Copy link

Ben-lad commented Feb 22, 2023

? Login type GitHub
Opening browser at https://api.sanity.io/v1/auth/login/github?type=listen&uuid=a912a197d93723af3be6e3f554f62a79&source=cli&label=octseven+%2F+win32
⠋ Waiting for browser login to complete... Press Ctrl + C to cancelnode:events:491
throw er; // Unhandled 'error' event
^
Error: spawn undefined\System32\WindowsPowerShell\v1.0\powershell ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
PS C:\Users\hp\Desktop\Sanity\backend> npm create sanity@latest -- --template clean --create-project "Sanity Project" --dataset production
You're setting up a new project!
We'll make sure you have an account with Sanity.io. Then we'll
install an open-source JS content editor that connects to
the real-time hosted API on Sanity.io. Hang on.
Press ctrl + C at any time to quit.
Prefer web interfaces to terminals?
You can also set up best practice Sanity projects with
your favorite frontends on https://www.sanity.io/templates
We can't find any auth credentials in your Sanity config

  • log in or create a new account
@Ben-lad
Copy link
Author

Ben-lad commented Feb 22, 2023

I tried to read the docs but still don't understand

@PattyCutie
Copy link

PattyCutie commented Feb 26, 2023

I have the same problem, then someone said just use git bash terminal and run the same command, and it work !
(window 11)
#4195 (comment)

@Ben-lad
Copy link
Author

Ben-lad commented Mar 3, 2023

Okay Thank @PattyCutie I'll try that out

@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2023

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants