claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Potential Issue Title: "CLI Flag Triggers Unintended Deletion of Local Cloud Configuration" This title captures the key problem: - Specifies it's a CLI-related issue - Highlights the critical behavior of unexpected configuration deletion - Uses technical

Open Jeong-Wan-Kim opened this issue 6 months ago • 0 comments

Bug Description 1.0.24 version cli --flag issue , if i using flag , delete all setup local cluade code This issue wasn't occurring up to version 1.0.22.

Claude code v1.0.24 has a CLI flag issue. When executing with the claude--dangerously-skip-permissions flag, it completely recognizes it as an initial run and initializes setting information and MCP information... I hope this bug gets fixed as soon as possible.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 1.0.24
  • Feedback ID: 60cd7fb5-435d-4725-bdd7-e024e70f00de

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:984:15)\n    at wrappedFn (node:internal/errors:538:14)\n    at checkExecSyncError (node:child_process:891:11)\n    at execSync (node:child_process:963:15)\n    at HZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:659:3921)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:8863\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n    at tJ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:8009)\n    at HS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:7090)\n    at gAA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2061:9905)","timestamp":"2025-06-14T10:22:14.540Z"},{"error":"Error: Command failed: security delete-generic-password -a $USER -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:984:15)\n    at wrappedFn (node:internal/errors:538:14)\n    at checkExecSyncError (node:child_process:891:11)\n    at execSync (node:child_process:963:15)\n    at HZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:659:3921)\n    at _vA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:9975)\n    at SvA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:9849)\n    at kAA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2050:2569)\n    at fAA.startOAuthFlow (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2050:3691)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-06-14T10:22:21.402Z"},{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:984:15)\n    at wrappedFn (node:internal/errors:538:14)\n    at checkExecSyncError (node:child_process:891:11)\n    at execSync (node:child_process:963:15)\n    at HZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:659:3921)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:8863\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n    at tJ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:8009)\n    at HS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:7090)\n    at T6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11202)","timestamp":"2025-06-14T10:22:21.476Z"},{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n    at Socket.onChildStdout (node:child_process:490:14)\n    at Socket.emit (node:events:524:28)\n    at Socket.emit (node:domain:489:12)\n    at addChunk (node:internal/streams/readable:561:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n    at Readable.push (node:internal/streams/readable:392:5)\n    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)","timestamp":"2025-06-14T10:22:27.530Z"}]

Jeong-Wan-Kim avatar Jun 14 '25 10:06 Jeong-Wan-Kim