You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing a persistent ENOENT error when trying to install the Gemini CLI in a Google Cloud Shell environment. This error also occurred on my local macOS machine and inside Docker containers, but it is most surprising that it happens in a clean Cloud Shell instance.
Environment:
Google Cloud Shell
Command:
npm install -g @google/generative-ai/cli
### Actual vs expected behavior:
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/halbayrak75/@google/generative-ai/cli/package.json
npm ERR! errno -2
npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/home/halbayrak75/@google/generative-ai/cli/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
### Any other information you'd like to share?
_No response_