gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Failed to login. Message: spawn EPERM

Open zhjgit opened this issue 1 year ago • 4 comments

What happened?

On Windows, I use cmd and have installed node.js 18 or later. I log in with Google but get an error: Failed to login. Message: spawn EPERM

Image

What did you expect to happen?

You should be taken to the Google login page

Client information

Windows 11
cmd/powerShell
nodejs 18
use proxy ,My proxy can access Google

Login information

No response

Anything else we need to know?

No response

zhjgit avatar Jun 30 '25 14:06 zhjgit

EPERM means "Error: Permission denied". Try run the command line as administrator or close security defenders which may block the execution of commands.

subPTcon avatar Jun 30 '25 15:06 subPTcon

This didn't work

shyampandey1 avatar Jul 02 '25 06:07 shyampandey1

Hey there! Just checking in on this. Are you still running into this error?

If so, please let us know! We're happy to help you dig into it.

It is also very helpful if you can share the output of the /about command. (gemini-cli version etc..)

srithreepo avatar Jul 15 '25 19:07 srithreepo

Found possible duplicate issues:

  • #2330: (0.9076761548326108)

gsquared94 avatar Jul 30 '25 20:07 gsquared94