[Bug] `--print` flag returns empty output in version 2.1.83
Resolved 💬 4 comments Opened Mar 25, 2026 by jxstanford Closed Apr 19, 2026
Bug Description
claude --print "say hello" returns empty. Exit code 0, no debug output. New behavior in 2.1.83, not present in 2.1.81.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.83
- Feedback ID: 80d8902f-a921-4323-820e-3881bf747ef3
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/jxstanford/.local/share/claude/versions/2.1.83 (expected in multi-process scenarios)\n at ibT (/$bunfs/root/src/entrypoints/cli.js:2735:2168)\n at Zcq (/$bunfs/root/src/entrypoints/cli.js:2735:1326)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-25T15:53:37.037Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at R5_ (/$bunfs/root/src/entrypoints/cli.js:2572:23131)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-25T15:53:37.071Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at R5_ (/$bunfs/root/src/entrypoints/cli.js:2572:23131)\n at async h (/$bunfs/root/src/entrypoints/cli.js:5206:10692)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-25T15:53:41.722Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at R5_ (/$bunfs/root/src/entrypoints/cli.js:2572:23131)\n at async W (/$bunfs/root/src/entrypoints/cli.js:5206:9922)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-25T15:53:41.722Z"},{"error":"Error: {\"message\":\"14 UNAVAILABLE: No connection established. Last error: Error: connect ECONNREFUSED 127.0.0.1:4317. Resolution note: \",\"code\":\"14\",\"details\":\"No connection established. Last error: Error: connect ECONNREFUSED 127.0.0.1:4317. Resolution note: \",\"metadata\":\"[object Object]\",\"originalLine\":\"2683\",\"originalColumn\":\"33\",\"line\":\"2683\",\"column\":\"33\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: 14 UNAVAILABLE: No connection established. Last error: Error: connect ECONNREFUSED 127.0.0.1:4317. Resolution note: \\n at KP$ (/$bunfs/root/src/entrypoints/cli.js:2681:80570)\\n at onReceiveStatus (/$bunfs/root/src/entrypoints/cli.js:2685:2719)\\n at onReceiveStatus (/$bunfs/root/src/entrypoints/cli.js:2683:9828)\\n at onReceiveStatus (/$bunfs/root/src/entrypoints/cli.js:2683:9163)\\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2699:23910)\\n at processTicksAndRejections (native:7:39)\\nfor call at\\n at makeUnaryRequest (/$bunfs/root/src/entrypoints/cli.js:2685:2240)\\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2685:7187)\\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2701:118030)\\n at Promise (unknown:1:11)\\n at send (/$bunfs/root/src/entrypoints/cli.js:2701:117899)\\n at export (/$bunfs/root/src/entrypoints/cli.js:2661:33516)\\n at export (/$bunfs/root/src/entrypoints/cli.js:2661:30111)\\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:138:158495)\\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:138:158435)\\n at Promise (unknown:1:11)\",\"name\":\"Error\"}\n at error (/$bunfs/root/src/entrypoints/cli.js:2681:27375)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:138:85511)\n at mP4 (/$bunfs/root/src/entrypoints/cli.js:138:86055)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:139:17366)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-25T15:53:46.730Z"},{"error":"Error: {\"message\":\"14 UNAVAILABLE: No connection established. Last error: Error: connect ECONNREFUSED ::1:4317. Resolution note: \",\"code\":\"14\",\"details\":\"No connection established. Last error: Error: connect ECONNREFUSED ::1:4317. Resolution note: \",\"metadata\":\"[object Object]\",\"originalLine\":\"2683\",\"originalColumn\":\"33\",\"line\":\"2683\",\"column\":\"33\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: 14 UNAVAILABLE: No connection established. Last error: Error: connect ECONNREFUSED ::1:4317. Resolution note: \\n at KP$ (/$bunfs/root/src/entrypoints/cli.js:2681:80570)\\n at onReceiveStatus (/$bunfs/root/src/entrypoints/cli.js:2685:2719)\\n at onReceiveStatus (/$bunfs/root/src/entrypoints/cli.js:2683:9828)\\n at onReceiveStatus (/$bunfs/root/src/entrypoints/cli.js:2683:9163)\\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2699:23910)\\n at processTicksAndRejections (native:7:39)\\nfor call at\\n at makeUnaryRequest (/$bunfs…
Note: Content was truncated.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗