Error: Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.

Resolved 💬 14 comments Opened Mar 9, 2025 by pierrekttipay Closed Jun 10, 2025

I am looking to run claude on a github actions CICD pipeline to review my code automatically on PRs.
I am using the command line: claude -p "my prompt" --print but no luck.

Error: Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.
Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported
    at handleSetRawMode (file:///opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/@anthropic-ai/claude-code/cli.js:4[7](https://github.com/kttipay/banking-service/actions/runs/13747645371/job/38444607184#step:5:8)6:2045)
    at file:///opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/@anthropic-ai/claude-code/cli.js:486:2000
    at wK (file:///opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/@anthropic-ai/claude-code/cli.js:77:21381)
    at pV (file:///opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/@anthropic-ai/claude-code/cli.js:77:40838)
    at file:///opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/@anthropic-ai/claude-code/cli.js:77:39053
    at UI1 (file:///opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/@anthropic-ai/claude-code/cli.js:71:22715)
    at Immediate.zI1 [as _onImmediate] (file:///opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/@anthropic-ai/claude-code/cli.js:71:23127)
    at process.processImmediate (node:internal/timers:491:21)

  ERROR Raw mode is not supported on the current process.stdin, which Ink uses
       as input stream by default.
       Read about how to prevent this error on
       https://github.com/vadimdemedes/ink/#israwmodesupported
 - Read about how to prevent this error on
   https://github.com/vadimdemedes/ink/#israwmodesupported
 -handleSetRawM (file:///opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/
  ode          @anthropic-ai/claude-code/cli.js:476:2045)
 - (file:///opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/@anthropic-ai
  /claude-code/cli.js:4[8](https://github.com/kttipay/banking-service/actions/runs/13747645371/job/38444607184#step:5:9)6:2000)
 -wK (file:///opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/@anthropic-
    ai/claude-code/cli.js:77:21381)
 -pV (file:///opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/@anthropic-
    ai/claude-code/cli.js:77:40838)
 - (file:///opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/@anthropic-ai
  /claude-code/cli.js:77:3[9](https://github.com/kttipay/banking-service/actions/runs/13747645371/job/38444607184#step:5:10)053)
 -UI1 (file:///opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/@anthropic
     -ai/claude-code/cli.js:71:22715)
 -Immediate.z (file:///opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/@a
  1          nthropic-ai/claude-code/cli.js:71:23127)
 - process.processImmediate (node:internal/timers:491:21)

View original on GitHub ↗

This issue has 14 comments on GitHub. Read the full discussion on GitHub ↗