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 problem that vscode cannot be opened offline

2025-01-18 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 that vscode can not be opened offline. It is very detailed and has certain reference value. Friends who are interested must finish reading it.

What if vscode cannot be opened offline?

About the solution that vscode cannot be started offline under the latest version of win10

Related recommendation: vscode getting started tutorial

Problem description: double-click the vscode icon and find that the program cannot be started. Use cmd to enter code and prompt:

Dns.js:246 this._handle = new ChannelWrap () ^ Error: EFILE at new Resolver (dns.js:246:20) at dns.js:377:25 at dns.js:431:3 at NativeModule.compile (bootstrap_node.js:606:7) at NativeModule.require (bootstrap_node.js:550:18) at net.js:45:13 at net.js:1730:3 at NativeModule.compile (bootstrap_node.js:606:7) at NativeModule.require (bootstrap _ node.js:550:18) at internal/child_process.js:6:13

This problem is caused by the core of Electron (Electron is a cross-platform desktop application development tool released by GitHub), even if you go back to the vscode version.

Solution

At present, the effective way to solve this problem is to enable the loopback adapter, when the computer is not plugged in, you can use the loopback adapter to virtualize a network for programmers to test, especially in the offline development environment!

The steps to enable the loopback adapter are:

Open device Manager, select your pc and click add obsolete hardware under Operation.

After the add hardware wizard pops up, the next step

Select manual installation

Select a network adapter

Select Microsoft KM-TEST in Microsoft to replace the adapter, and the next step is to OK until the installation is complete.

These are all the contents of this article entitled "Solutions that cannot be opened offline by vscode". 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

Wechat

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

12
Report