Question

Warning: 'sandbox' is not in the list of known options, but still passed to Electron/Chromium

I 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?

 46  9823  46
1 Jan 1970

Solution

 2

I removed the snap version and install the deb file which works for me

sudo snap remove code

Downlaod code_1.58.1-1626158276_amd64.deb (latest) file from https://code.visualstudio.com/download

and install it with --fix-broken option

cd ~/Downloads/ && sudo apt --fix-broken install ./code_1.58.1-1626158276_amd64.deb
2021-07-14

Solution

 0

I encountered this error last night. To resolve it, I reverted my Electron/Chromium app to a previous version.

snap revert code-insiders
2024-06-08