跳转至内容
  • 版块
  • 最新
  • 标签
  • 热门
  • Online Tools
  • 用户
  • 群组
折叠
品牌标识

D2Learn Forums

  1. 主页
  2. Open source | 开源
  3. xlings
  4. linux下进入错误: You are trying to start Visual Studio Code as a super user which isn't recommended

linux下进入错误: You are trying to start Visual Studio Code as a super user which isn't recommended

已定时 已固定 已锁定 已移动 xlings
xlings
2 帖子 2 发布者 14 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • Jackie2chenJ 离线
    Jackie2chenJ 离线
    Jackie2chen
    编写于 最后由 SPeak 编辑
    #1

    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)

    SPeakS 1 条回复 最后回复
    0
    • SPeakS 离线
      SPeakS 离线
      SPeak d2learn-dev
      回复了Jackie2chen 最后由 编辑
      #2

      @Jackie2chen vscode不推荐在root用户下使用, 可以新建立普通用户, 或者把项目的配置文件config.xlings中的 vscode 那一行删除 不使用指定的编辑器也可以

      02f62bc7-396a-4348-98e2-506cb9939f99-image.png

      1 条回复 最后回复
      0

      • 登录

      • 没有帐号? 注册

      • 登录或注册以进行搜索。
      d2learn forums Powered by NodeBB
      • 第一个帖子
        最后一个帖子
      0
      • 版块
      • 最新
      • 标签
      • 热门
      • Online Tools
      • 用户
      • 群组