Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution to the failure of vscode plug-in installation

2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the solution to the failure of vscode plug-in installation, which is very detailed and has a certain reference value. Friends who are interested must finish it!

What if the vscode plug-in installation fails?

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.

The above is all the contents of the article "the solution to the failure of vscode plug-in installation". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report