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

Error message and it kicks me out of gemini

Open fadeverzion2-ops opened this issue 1 month ago • 3 comments

What happened?

In the middle of it doing something it just did "C:\Users\adrie\AppData\Roaming\npm\node_modules@google\gemini-cli\node_modules@lydell\node-pty\windowsPtyAgent.js:93 throw new Error('Cannot resize a pty that has already exited'); ^

Error: Cannot resize a pty that has already exited at WindowsPtyAgent.resize (C:\Users\adrie\AppData\Roaming\npm\node_modules@google\gemini-cli\node_modules@lydell\node-pty\windowsPtyAgent.js:93:19) at WindowsTerminal. (C:\Users\adrie\AppData\Roaming\npm\node_modules@google\gemini-cli\node_modules@lydell\node-pty\windowsTerminal.js:131:26) at Object.run (C:\Users\adrie\AppData\Roaming\npm\node_modules@google\gemini-cli\node_modules@lydell\node-pty\windowsTerminal.js:167:50) at C:\Users\adrie\AppData\Roaming\npm\node_modules@google\gemini-cli\node_modules@lydell\node-pty\windowsTerminal.js:73:32 at Array.forEach () at Socket. (C:\Users\adrie\AppData\Roaming\npm\node_modules@google\gemini-cli\node_modules@lydell\node-pty\windowsTerminal.js:68:42) at Socket.emit (node:events:530:35) at addChunk (node:internal/streams/readable:561:12) at readableAddChunkPushByteMode (node:internal/streams/readable:512:3) at Readable.push (node:internal/streams/readable:392:5) "

What did you expect to happen?

For it not to crash

Client information

  • CLI Version: 0.18.4
  • Git Commit: 2e8d7831c
  • Session ID: 42579a17-ad16-4a97-8e9b-1080b3390e2b
  • Operating System: win32 v22.17.1
  • Sandbox Environment: no sandbox
  • Model Version: auto
  • Memory Usage: 207.3 MB

Login information

Dont have one

Anything else we need to know?

no

fadeverzion2-ops avatar Nov 30 '25 00:11 fadeverzion2-ops

Found possible duplicate issues:

  • #11502
  • #12708
  • #11464
  • #12073
  • #11446
  • #12486
  • #12028
  • #12854
  • #12047
  • #12957

If you believe this is not a duplicate, please remove the status/possible-duplicate label.

gemini-cli[bot] avatar Nov 30 '25 00:11 gemini-cli[bot]

Hi @fadeverzion2-ops , can you provide more information on what you were doing when this happened, what shell command was executed.

galz10 avatar Dec 01 '25 17:12 galz10

A very similar issue was fixed in https://github.com/google-gemini/gemini-cli/pull/12587.

scidomino avatar Dec 01 '25 20:12 scidomino