Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What if the download of the vscode plug-in fails

Shulou Source: shulou.com Published: 2022-06-02 15:46:43 10月02日 Update

Editor to share with you what to do if you failed to download the vscode plug-in. I hope you will get something after reading this article. Let's discuss it together.

What if I failed to download the vscode plug-in?

Solution for failed installation of vscode plug-in

Click the install button of the corresponding plug-in in vscode to install, and the installation fails, and the software prompts you to install manually (manually install).

Download the vsix installation package manually, then click install from VSIX..., to select the vsix installation package to install, displaying Error: EACCES: permission denied, mkdir.

This is generally due to permission issues that prevent the installation process from manipulating some files.

By consulting, the corresponding solution is found in the vscode project on github (reference: https://github.com/Microsoft/vscode/issues/48656#issuecomment-384834353).

As follows:

Sudo chown-R myuser:myuser ~ sudo chmod-R 700 ~

Where myuser is changed to your user name.

Chown-R user name: group name ~: the first command is to change the owner of the directory, and ~ is the current directory

Sudo chmod-R 70000 ~: permission to modify the directory. 700indicates rwx-that is, the current user is readable, writable and executable, while group users and other users are not readable, writeable or executable.

After executing these two commands, the installation will be successful.

After reading this article, I believe you have a certain understanding of "vscode plug-in download failure". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for your reading!

Tags: Plug-ins users what to do plug-ins download directories commands manual solutions permissions articles solutions success generally speaking name done situation owner buttons files more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Linux Redmi Shulou Technology macOS