linux下进入错误: You are trying to start Visual Studio Code as a super user which isn't recommended
-
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.
error: exec(code -g /mnt/cfs-software/algorithm/hao.chen/mcpp-standard/dslings/hello-mcpp.cpp:1) failed(1)
error: execv(xmake xlings --project=. /mnt/cfs-software/algorithm/hao.chen/mcpp-standard checker) failed(255) -
@Jackie2chen vscode不推荐在root用户下使用, 可以新建立普通用户, 或者把项目的配置文件config.xlings中的 vscode 那一行删除 不使用指定的编辑器也可以