VSCODE在Linux上对我不起作用 [英] VSCODE does not work for me on Linux

查看:115
本文介绍了VSCODE在Linux上对我不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚了解VSCODE,很高兴尝试一下.我下载,解压缩并运行了可执行文件.我得到:

Just learned about VSCODE, excited to try it. I downloaded, unzipped and ran the executable. I get:

$ Code
[2183:0429/201254:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash: .bashrc: No such file or directory
^C

到那时,没有窗口出现,什么也没有发生,我所能做的全部^ C.除了运行它,我在指令中什么都看不到.还有其他人有这个问题吗?

At that point no window appears, nothing happens, and all I can do it ^C out of it. I can't see anything in the instructions that I'm supposed to do besides run it. Anyone else have this problem?

[Arch Linux 4.0.1]

[Arch Linux 4.0.1]

推荐答案

对于Arch Linux,AUR中提供了一个软件包. https://aur.archlinux.org/packages/visual-studio-code/.

For Arch Linux a package is available in the AUR. https://aur.archlinux.org/packages/visual-studio-code/.

此AUR软件包具有

alsa-lib
cairo
fontconfig
gcc-libs
gconf
gtk2
libxtst
nss
python

作为其依赖项.从软件包管理器安装这些依赖项可以解决此问题.我试图通过删除软件包来复制错误,但没有成功.

as its dependencies. The installation of those dependencies from your package manager should fix the problem. I tried to replicate the error by removing the packages but i had no success.

我也得到了错误消息的第一部分.由于编辑器按预期启动,因此似乎可以忽略.

I get the first part of the error message as well. It seems it can be ignored since the editor starts as expected.

[7190:0501/233446:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.

这篇关于VSCODE在Linux上对我不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆