aws / aws/amazon-q-developer-cli

crates/chat-cli/src/cli/chat/mod.rs:1524

Open
#3,673 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

macOS 26.3.0 (25D125)

### Expected behaviour

normal chat

### Actual behaviour

Kiro is having trouble responding right now:
0: No such file or directory (os error 2)
1: No such file or directory (os error 2)

Location:
crates/chat-cli/src/cli/chat/mod.rs:1524

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

### Steps to reproduce

Not sure how it started. Was working fine as it to remove a folder it did then starts failing.

kshahzad@kshahzad-MacBook-Pro wiki % q doctor
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Warning! Q CLI is now Kiro CLI and should be invoked as kiro-cli rather than q

● Using Bash 3.2.57 may cause issues, it is recommended to either update to bash >=5 or switch to zsh.
- Install Bash 5 with Brew: brew install bash && bash
- Change shell default to ZSH: chsh -s /bin/zsh && zsh
✔ Everything looks good!

Kiro CLI still not working? Run kiro-cli issue to let us know!

### Environment

```yaml

[q-details]
version = "1.27.2"
hash = "aa2f8e7241504f598fd58ed79f4fee5ab9bf77ae"
date = "2026-03-09T22:57:15.885689Z (4d ago)"
variant = "full"

[system-info]
os = "macOS 26.3.0 (25D125)"
chip = "Apple M4"
total-cores = 10
memory = "16.00 GB"

[environment]
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "macOS"
install-method = "unknown"

[env-vars]
PATH = "/usr/local/opt/python/libexec/bin:/usr/local/opt/python/libexec/bin:/usr/local/opt/python/libexec/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/opt/python/libexec/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/usr/local/MacGPG2/bin:/Users/USER/.local/bin"
QTERM_SESSION_ID = "eea6a1e683e04a049a1c46c7dd9f2187"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.27.2"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.