VSCode 插件頁面閃退問題 unable to open 'Extension: xxx': An unknown error occurred


"Unable to open 'Extension: xxx': An unknown error occurred."

VSCode插件頁面閃退問題

參考GitHub上VSCode的issue:95427的解決方案,我清除了DNS緩存,該閃退問題就解決了。

Windows 清除DNS緩存

ipconfig /dnsflush

在issue:95427中GitHub@Zorono提供的完整解決步驟如下

  1. I Changed my Domain Name Servers from my Router Modem's cPanel for both the DHCP and DNS to Google DNS(Primary: 8.8.8.8 Secondary: 8.8.4.4)
  2. I flushed my Adapter's DNS Resolver Cache using the command ipconfig /flushdns (Windows)
  3. I stopped the DNS Caching Services using the command net stop dnscache (Windows)
  4. Make sure to Change your Adapter's IPv4 Domain Name Servers

Mac OS 10.10.4及之后版本清除DNS緩存

sudo killall -HUP mDNSResponder

其他版本參考Apple官網的Reset the DNS cache in OS X

Linux根據不同發行版本查找
(有很多Linux發行版在系統層面不使用DNS緩存)


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM