Claude is either blank or non-interactive
Status Fixed / completed
Maintainer reply ✓ Yes — bcherny
Activity 8 comments · opened Feb 24, 2025 · closed Mar 25, 2025
💡 Likely answer: A maintainer (bcherny, collaborator)
responded on this thread — see the highlighted reply below.
- Install
claude- See blank screen
- Some amount of ctrl+c +
claude, randomenter, and now I can see this
╭────────────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code research preview! │
│ │
│ /help for help │
│ │
│ cwd: /Users/franklinharvey/Documents/code/monologue │
╰────────────────────────────────────────────────────────╯
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages: text content blocks must contain
non-whitespace text"}}
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages: text content blocks must contain
non-whitespace text"}}
but I cannot type. when I ctrl+c now I see this
╭────────────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code research preview! │
│ │
│ /help for help │
│ │
│ cwd: /Users/franklinharvey/Documents/code/monologue │
╰────────────────────────────────────────────────────────╯
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages: text content blocks must contain
non-whitespace text"}}
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages: text content blocks must contain
non-whitespace text"}}
Total cost: $0.0000
Total duration (API): 0.0s
Total duration (wall): 1m 39.3s
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ > │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Press Ctrl-C again to exit \⏎ for newline
but everything from Total cost: $0.0000 until the end is hidden until I quit, meaning I can't see the text box until after i quit
Video
https://github.com/user-attachments/assets/d54ffbb2-13b7-4c5d-9883-9d22085544c6
---
Update, this only happens in some repos, could be something about direnv?
direnv: loading ~/Documents/code/<repo name>/.envrc
direnv: export +AWS_PROFILE +CI_DOCKER_CONTAINER_REGISTRY_PAT +PUPPETEER_EXECUTABLE_PATH +PUPPETEER_SKIP_CHROMIUM_DOWNLOAD
8 Comments
Hi! Mind sharing your NodeJS version and terminal?
I'm experiencing this same issue. I can't see what I'm prompting until I hit enter and I can't see the results until I hit enter again.
Shell:
zsh 5.9 (x86_64-apple-darwin23.0)Node:
v18.18.0MacOS:
14.5Same issue:
Shell:
zsh 5.9 (arm64-apple-darwin24.0)Node:
v23.8.0Node: v18.17.0
Shell: default mac terminal, zsh, oh-my-zsh
Interesting if you run
sudo claudethe issue gets resolved, probably something related to permissions could be the fix 🤔Same issue for me. The interface is hidden.
sudo claudedoes fix the issue.https://github.com/user-attachments/assets/44170695-e25a-4dce-a5bd-f37f060d01b1
Folks reporting this issue, did this get better with 0.2.32?
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.