Home > Development Tools > VSCode > What should I do if the vscode plug-in installation fails?

What should I do if the vscode plug-in installation fails?

藏色散人
Release: 2019-12-18 10:53:44
Original
6056 people have browsed it

What should I do if the vscode plug-in installation fails?

#What should I do if the vscode plug-in installation fails?

Solution to the failure of vscode plug-in installation

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

Related recommendations: vscode tutorial

Manually download the vsix installation package, then click install from VSIX..., select the vsix installation package for installation, and Error: EACCES: is displayed. permission denied, mkdir...

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

What should I do if the vscode plug-in installation fails?

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

is as follows:

sudo chown -R myuser:myuser ~
sudo chmod -R 700 ~
Copy after login

Among them, myuser is changed to your user name.

chown -R username:group name ~: The first command is to change the directory owner, ~ is the current directory

sudo chmod -R 700 ~: Modify the permissions of the directory, 700 means rwx --- ---, that is, the current user can read, write, and execute, but group users and other users cannot read, write, or execute.

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

The above is the detailed content of What should I do if the vscode plug-in installation fails?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template