在Ubuntu 14.04上运行VS代码

问题描述 投票:4回答:1

我已经下载了VSCode-linux-x64.zip。当我尝试使用GUI提取文件时,它失败:

“提取归档错误”“ >>

可以使用终端提取档案,而不会导致错误:

$ unzip VSCode-linux-x64.zip

如果然后尝试从终​​端打开程序代码,则会得到以下结果:

$ ./Code 
[21746:0430/141853: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
[21746:0430/141854:WARNING:file_descriptor_set_posix.cc(30)] FileDescriptorSet destroyed with unconsumed descriptors: 0/1
[atom event]: render process crashed!

我可以在这里使用Ctrl + C退出,或者让代码弹出来告诉我:

“

如果我尝试通过双击图标打开代码,也会发生此错误。

[VSCODE does not work for me on Linux有相同的问题,但是由于我运行的是Ubuntu 14.04,而不是Arch Linux,所以我认为他们的解决方案不适用于我。

我已经下载了VSCode-linux-x64.zip。当我尝试使用GUI提取文件时,它失败:可以使用终端提取档案文件,而不会出现任何错误:$ unzip VSCode-linux-x64.zip如果我再尝试...

ubuntu ubuntu-14.04 visual-studio-code
1个回答
3
投票

找到了解决方案,只需从命令行解压缩

© www.soinside.com 2019 - 2024. All rights reserved.