Skip to content

pnpx @google/gemini-cli could not launch anymore #11444

@rbuquet

Description

@rbuquet

Last pnpm version that worked

10.33.2

pnpm version

11.0.4

Code to reproduce the issue

scoop install nodejs-lts pnpm
pnpx @google/gemini-cli

Expected behavior

Gemini CLI launchs and waits for my input.

Actual behavior

PS > scoop install nodejs-lts pnpm
Installing 'pnpm' (11.0.4) [64bit] from 'main' bucket
Loading pnpm-win32-x64.zip from cache
Checking hash of pnpm-win32-x64.zip ... ok.
Extracting pnpm-win32-x64.zip ... done.
Linking ~\scoop\apps\pnpm\current => ~\scoop\apps\pnpm\11.0.4
Creating shim for 'pnpm'.
Creating shim for 'pnpx'.
'pnpm' (11.0.4) was installed successfully!

PS > pnpx @google/gemini-cli
Packages: +7
+++++++
Downloading node-pty@1.1.0: 15,46 MB/15,46 MB, done
Downloading @google/gemini-cli@0.40.1: 23,07 MB/23,07 MB, done
Progress: resolved 12, reused 0, downloaded 7, added 7, done
 ERR_PNPM_IGNORED_BUILDS  Ignored build scripts: @github/keytar@7.10.6, node-pty@1.1.0

Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts.

PS >

Additional information

I am sitting behind a corporate proxy (used by scoop) and behind a corporate npm registry (Nexus) configured in ~/.npmrc

I managed to have it work again in 11.0.4 by

  • uninstalling it with scoop uninstall pnpm --purge
  • installing the previous version (10.33.2) with
    scoop install https://raw.githubusercontent.com/ScoopInstaller/Main/479cf947d39beb34a6f3477c7e5da493cb2ad1ef/bucket/pnpm.json (scoop install pnpm@10.33.2 couldn't manage to generate a manifest)
  • launching gemini-cli with pnpx @google/gemini-cli
  • uninstalling the 10.33.2 with scoop uninstall pnpm --purge
  • installing the latest version (11.0.4) again with scoop install pnpm
  • launching again gemini-cli with pnpx @google/gemini-cli

Node.js version

v24.15.0

Operating System

Windows

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions