I'm getting a bizarre error seemingly out of the blue. A google search came back empty. I'm stumped here. Running Ubuntu 18.04:
code .
internal error, please report: running "vscode" failed: cannot find current revision for snap vscode: readlink /snap/vscode/current: permission denied
'sudo code .' will result in the same error message.
sudo code .
Not sure as I don't use product but it might work. Don't open and save any files though if it works. Just exit Visual Code and restart normally withcode .
. I presume your snaps aren't being updated automatically bysystemd
boot and it's trying to do it at run-time instead. – WinEunuuchs2Unix Oct 12 '18 at 00:14