Search code examples
python-3.xvisual-studio-codearchlinuxmanjaro

VS- CODE errors on manjaro, auto quit, can't open folder


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

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 ?


Solution

  • 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.

    1. uninstall VS-code

    2. cd into the desired directory

    3. Follow the steps in order

    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