Home>Article>Development Tools> Reasons and solutions for vscode plug-in download failure

Reasons and solutions for vscode plug-in download failure

王林
王林 Original
2019-11-14 16:15:52 14504browse

Reasons and solutions for vscode plug-in download failure

Problem:

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

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

Reason:

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

Reasons and solutions for vscode plug-in download failure

Solution:

1. Change the directory owner, the command is as follows:

sudo chown -R myuser:myuser ~

Among them, myuser is changed to your user name, ~ is the current directory

2. Modify the directory permissions, the command is as follows:

sudo chmod -R 700 ~

700 means rwx --- ---, that is, the current user can Readable, writable, and executable. Group users and other users cannot read, write, or execute.

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

Recommended tutorial:vscode tutorial

The above is the detailed content of Reasons and solutions for vscode plug-in download failure. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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