saoudrizwan / claude-dev

Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.
https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev
MIT License
4.04k stars 381 forks source link

Extension does not load - TypeError: Cannot destructure property 'selectedModelInfo' of '(0 , a.useMemo)(...)' as it is undefined. #155

Closed sammcj closed 3 weeks ago

sammcj commented 3 weeks ago

After installing the extension and click on the Claude Dev icon an empty window pane is all that is displayed.

There are no errors in the UI.

Looking at the developer console I see a few errors from the extension:

image
TypeError: Cannot destructure property 'selectedModelInfo' of '(0 , a.useMemo)(...)' as it is undefined.
    at Gb (main.js:2:1373227)
    at mi (main.js:2:77627)
    at Cs (main.js:2:91853)
    at wl (main.js:2:138161)
    at vc (main.js:2:126384)
    at bc (main.js:2:126312)
    at mc (main.js:2:126175)
    at ac (main.js:2:122955)
    at rc (main.js:2:121506)
    at E (main.js:2:755529)
ds @ main.js:2
n.callback @ main.js:2
$a @ main.js:2
Sl @ main.js:2
vl @ main.js:2
yl @ main.js:2
(anonymous) @ main.js:2
kc @ main.js:2
rc @ main.js:2
E @ main.js:2
_ @ main.js:2
main.js:2 Uncaught TypeError: Cannot destructure property 'selectedModelInfo' of '(0 , a.useMemo)(...)' as it is undefined.
saoudrizwan commented 3 weeks ago

Did you use another branch that used a different model? This should only happen if your local state had a provider that wasn't the 3 claude dev offers. If not then I'll need to investigate further

sammcj commented 3 weeks ago

I did! I first tried a fork to see if I could get it working with Ollama / any OpenAI compatible endpoint. (#30)

I thought removing the extension, restarting vscode would have been enough?