Published
- 1 min read
You are trying to start Visual Studio Code as a super user which isn`t recommended. If this was intended, please add the argument `--no-sandbox` and specify an alternate user data directory using the `--user-data-dir` argument.
The solution for this is noted below
You are trying to start Visual Studio Code as a super user which isnt recommended. If this was intended, please add the argument
—no-sandboxand specify an alternate user data directory using the
—user-data-dir` argument.
Solution
sudo code "your-directory" --user-data-dir='.' --no-sandbox
Try other methods by searching on the site. That is if this doesn’t work