导致此错误的原因是什么?解决方法是什么? 解决方案 我删除了 snap 版本并安装了对我有用的 deb 文件sudo snap 删除代码从https://下载code_1.58.1-1626158276_amd64.deb(最新)文件/code.visualstudio.com/download并使用 --fix-broken 选项安装cd ~/Downloads/&&sudo apt --fix-broken install ./code_1.58.1-1626158276_amd64.debI am using Linux Mint 20 and vscode 1.52.1.My ~/.xsession-errors file shows Warning: 'sandbox' is not in the list of known options, but still passed to Electron/Chromium.What is causing this error and what is the solution to it? 解决方案 I removed the snap version and install the deb file which works for mesudo snap remove codeDownlaod code_1.58.1-1626158276_amd64.deb (latest) file from https://code.visualstudio.com/downloadand install it with --fix-broken optioncd ~/Downloads/ && sudo apt --fix-broken install ./code_1.58.1-1626158276_amd64.deb 这篇关于警告:'sandbox' 不在已知选项列表中,但仍传递给 Electron/Chromium的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-23 11:18