I'm trying to download an extension and I get this

2023-10-28 14:48:14.018 [error] Error: Cannot read the extension from /c:/Users/User/.vscode/extensions/esbenp.prettier-vscode-10.1.0 at H.D (c:\Users\User\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:15188) at async W.u (c:\Users\User\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:18359) at async W.x (c:\Users\User\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:19992) at async W.h (c:\Users\User\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:17926) 2023-10-28 14:48:14.070 [error] Cannot read the extension from /c:/Users/User/.vscode/extensions/esbenp.prettier-vscode-10.1.0: Error: Cannot read the extension from /c:/Users/User/.vscode/extensions/esbenp.prettier-vscode-10.1.0 at H.D (c:\Users\User\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:15188) at async W.u (c:\Users\User\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:18359) at async W.x (c:\Users\User\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:19992) at async W.h (c:\Users\User\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:17926)
No description
23 Replies
Jochem
Jochem14mo ago
could be a virus scanner or file system rights issue. What happens when you click on "try downloading manually"?
Jimster
JimsterOP14mo ago
file is being downloded with .vsix i hd the extensions but they dissperd nd im trying to downlod them gin
Jimster
JimsterOP14mo ago
also i did tht before
No description
Jochem
Jochem14mo ago
there's a lot to unpack in that image... is your C:\Users\User\ folder a git repo?!
Jimster
JimsterOP14mo ago
these files appeard here
No description
Jochem
Jochem14mo ago
and you're running vscode on that folder?
Jimster
JimsterOP14mo ago
how to check that?
Jochem
Jochem14mo ago
is there a folder C:\Users\User\.git\
Jimster
JimsterOP14mo ago
ye
Jochem
Jochem14mo ago
that's a really bad idea
Jimster
JimsterOP14mo ago
how do i remove tht
Jochem
Jochem14mo ago
removing a git repo is usually just done by removing the .git folder, but I have no idea what all you've done in that repo to change or modify files... like... C:\Users\User\ is where Windows stores pretty much all your personal and application data, and checking that all into a git repo and then modifying it using git is just a nightmare I'm not really comfortable unraveling over the internet the only advice I can give right now, is to just never ever ever use git in that folder in any way, shape or form
Jimster
JimsterOP14mo ago
so i should just remove tht folder?
Jochem
Jochem14mo ago
that is how you remove a git repo, but at the same time there might be files in there or a log of what you did that might let you repair stuff. I'm not saying you should or shouldn't, not touching that with a ten foot pool, sorry
Jimster
JimsterOP14mo ago
ok im removing it
Jochem
Jochem14mo ago
maybe make a zip backup of it first or something if you do anyway, let me know if using that .vsix file worked
Jimster
JimsterOP14mo ago
ye i mnged to downlod the extensions removing thr .git file helped too thnks
Jochem
Jochem14mo ago
it also looks like you're using C:\Users\User\ to put your projects in maybe? and opening that folder in vscode?
Jimster
JimsterOP14mo ago
C:\Users\User\Desktop\all codes here ive something like tht
Jochem
Jochem14mo ago
ah, that's fine. I just wouldn't recommend opening C:\Users\User\ in vscode, if you want to see all your projects at once at least just open C:\Users\User\Desktop
Jimster
JimsterOP14mo ago
alrighty thank you when i deleted the .vscode file it basically deleted all my data?
Jochem
Jochem14mo ago
it would've deleted pretty much all plugins and user settings for vscode yeah
Jimster
JimsterOP14mo ago
i think im good now thnk you gain i close the post
Want results from more Discord servers?
Add your server