Skip to content

Claude is either blank or non-interactive #3

Description

@franklinharvey
  1. Install
  2. claude
  3. See blank screen
  4. Some amount of ctrl+c + claude, random enter, 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

Screen.Recording.2025-02-24.at.14.03.42.mov

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions