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

Claude Extension Fails to Initialize or Load on Cursor

Open aaronepinto opened this issue 6 months ago • 8 comments

Bug Description The Claude extension suddenly stopped working, not sure what happened

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 1.0.30
  • Feedback ID: f9db7bbf-b0e8-4996-8ca4-a2fe209f84c3

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:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:892:11)\n    at execSync (node:child_process:964:15)\n    at NZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:699:3921)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:9014\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n    at QX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:8160)\n    at kS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:7241)\n    at L9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:11408)","timestamp":"2025-06-20T13:47:44.896Z"}]

aaronepinto avatar Jun 20 '25 13:06 aaronepinto

I have the same exact error (Command failed: security find-generic-password ...), just tried again to verify it was the same... (see #2363)

pfurini avatar Jun 20 '25 14:06 pfurini

Could you try updating your extension manually and seeing if this resolves the issue? If not, we'll dig into it.

igorkofman avatar Jun 20 '25 20:06 igorkofman

Could you try updating your extension manually and seeing if this resolves the issue? If not, we'll dig into it.

I'll reply here instead of my original issue #2363. Tried everything I've found online:

  • uninstalled old extension
  • closed Cursor
  • restarted mac
  • reinstalled vsix extension manually (first cp the vsix from inside node_modules to Downloads folder, then used Install from vsix command in Cursor to install the new vsix)
  • closed Cursor again
  • restarted
  • started Cursor and Claude Code inside Cursor or outside
  • ran /ide command ... result NO IDE CONNECTED

Conclusion: it's broken, and it's not only me ;) PS: just updated to CC 1.0.31, forced update like before, and IDE connection still not working

pfurini avatar Jun 20 '25 20:06 pfurini

Sorry for the break - we're digging into it and should have an update soon.

igorkofman avatar Jun 20 '25 20:06 igorkofman

When launching Claude Code- can you make sure you do it by executing claude from a terminal window in Cursor? And before that, checking the version? Just want to make sure everything is reporting the right version.

blois avatar Jun 20 '25 21:06 blois

Same issue, suddenly stopped working inexplicably, after having a great time with it over the previous few days. Also having the same issue with other IDEs like Webstorm which were also fine a day or so ago, so would assume that #2381 pertains to the same problem.

mherod avatar Jun 20 '25 23:06 mherod

When launching Claude Code- can you make sure you do it by executing claude from a terminal window in Cursor? And before that, checking the version? Just want to make sure everything is reporting the right version.

I start CC in the Cursor terminal window, and after having installed the extension, using the Claude icon in the editor top bar. Both Claude Code and the extension are on the 1.0.31 version, and it's not working since version 1.0.30. I don't really think it's only me, something in 1.0.30 must have broken the connection.

pfurini avatar Jun 22 '25 15:06 pfurini

Update: see my comment here https://github.com/anthropics/claude-code/issues/2299#issuecomment-2994288126

pfurini avatar Jun 22 '25 15:06 pfurini

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.

github-actions[bot] avatar Aug 14 '25 14:08 github-actions[bot]