我突然收到一个奇怪的错误。谷歌搜索无果。我被难住了。运行 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 .' 将导致相同的错误消息。
答案1
sudo chmod 777 -R /snap/vscode/
成功了。