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

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

藏色散人
Release: 2020-05-15 13:21:33
Original
5990 people have browsed it

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

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

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

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

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

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

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.

Recommended: "vscode tutorial"

The above is the detailed content of What should I do if the vscode plug-in fails to load?. 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