manjaro 上的 VS- CODE 错误,自动退出,无法打开文件夹 [英] VS- CODE errors on manjaro, auto quit, can't open folder
问题描述
我已经在我的 manjaro Linux 机器上使用 vs code 一个月了,我遇到了很多问题.例如,从欢迎页面打开文件夹不起作用,使用 GitHub 帐户登录不起作用,它挂了很多,面对这些后问题与代码退出我尝试重新安装 vs-code 但它没有解决任何问题
I have been using vs code for a month now on my manjaro Linux machine and I've had a number of issues. For example opening a folder from the welcome page doesn't work, sign in using a GitHub account doesn't work, it hangs quite a lot and after facing any of these issues vs code quits I have tried to re-install vs-code but it solves nothing
我使用的是配备 i7 第 8 代 CPU、16GB 内存和 G-force MX150 的笔记本电脑,这应该足以满足所有需求,但我正在使用传统的旧硬盘启动 manjaro
I am using a laptop with an i7 8th gen CPU, 16GB ram and a G-force MX150 which should be plenty for everything but I'm booting into manjaro using a traditional old hard drive
有没有办法解决这个问题?
Is there a fix for this ?
推荐答案
所以我才想出自己解决这个问题如果您在基于 Arch 的发行版上遇到类似问题,请按照以下步骤操作.问题出在 AUR 上如果您不确定如何操作,请从 GitHub 下载官方版本,请按照以下步骤操作.
so I just figured out to solve this problem myself follow the steps below if you're facing similar issues on an arch-based distro. The problem is with the AUR pls download the official release from GitHub if you're not sure how to do that follow the steps below.
卸载 VS 代码
uninstall VS-code
cd 到想要的目录
按顺序执行步骤
git clone https://aur.archlinux.org/visual-studio-code-bin.git
cd visual-studio-code-bin
makepkg -si
这解决了我的问题,所以我希望它也适用于你
This solved my issue so I hope it does for you as well
这篇关于manjaro 上的 VS- CODE 错误,自动退出,无法打开文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!