vscode-fix-checksums
vscode-fix-checksums copied to clipboard
Error "An error occurred during execution. Make sure you have write access rights to the VSCode files, see README"
when i use fix show this error
An error occurred during execution. Make sure you have write access rights to the VSCode files, see README
and when click one more time
No changes to checksums were necessary.
Hi, same problem occured, the solution would be Open VS Code as Administrator.
Any idea on how to do this in Ubuntu?
If I run sudo code --user-data-dir="~/.vscode-root"
I open a VSC instance with no extensions installed. So this doesn't help at all.
Edit: Spoke (typed?) too soon. I ran VSC with the previous command and installed the Fix Checksum extension on this new, fresh Admin VSC instance and later ran the Fix Checksums: Apply
command. Closed everything and reopened VSC as normal and no more errors.
Any idea on how to do this in Ubuntu? If I run
sudo code --user-data-dir="~/.vscode-root"
I open a VSC instance with no extensions installed. So this doesn't help at all.Edit: Spoke (typed?) too soon. I ran VSC with the previous command and installed the Fix Checksum extension on this new, fresh Admin VSC instance and later ran the
Fix Checksums: Apply
command. Closed everything and reopened VSC as normal and no more errors.
I tried to using this command on my Ubuntu 20.04 but nothing runs, I tried to look for solutions but I haven't found any. I tried to install vscode through both snapstore and apt installation. I found that this command only works with snap installation of vscode. Can anyone suggest me a different solution to this problem?
Any idea on how to do this in Ubuntu? If I run
sudo code --user-data-dir="~/.vscode-root"
I open a VSC instance with no extensions installed. So this doesn't help at all. Edit: Spoke (typed?) too soon. I ran VSC with the previous command and installed the Fix Checksum extension on this new, fresh Admin VSC instance and later ran theFix Checksums: Apply
command. Closed everything and reopened VSC as normal and no more errors.I tried to using this command on my Ubuntu 20.04 but nothing runs, I tried to look for solutions but I haven't found any. I tried to install vscode through both snapstore and apt installation. I found that this command only works with snap installation of vscode. Can anyone suggest me a different solution to this problem?
Hello did you fix it?
I was able to run the vscode as superuser, but now the problem is that the window is totally blank, I don't know if it has something to do with the line I used.
sudo code --user-data-dir="~/.vscode-root" --no-sandbox
When I hover the mouse over the window I see that I can select the options for a clean installation of vscode, but clicking on them does not change anything. Can someone try to use it and tell me if it happens the same?
when i use fix show this error
An error occurred during execution. Make sure you have write access rights to the VSCode files, see README
and when click one more timeNo changes to checksums were necessary.
Well I tried this and it worked. It's not necesary to start VS with root just give some permissions with this comand.
sudo chown -R $(whoami) /usr/share/code/
You can add the path where your extension was installed or give access to all extensions.
I don't know if what I did was correct but I've changed the permissions with chmod, because chown only changes the propietary of the directory, something like this:
- For the installation path of VSCode:
sudo chmod -R 777 /usr/share/code/
- For the installation path of VSCode extensions:
sudo chmod -R 777 /home/user/.vscode/
This worked for me on debian 12, if I've broked something please feel free to tell me how do i fix it.