当前位置:   article > 正文

VS Code 加载 Web 视图时出错_vscode加载web视图时出错

vscode加载web视图时出错

这个问题遇到好几次了,每次都得去搜一阵,这里记录一下.

使用MarkDown预览时,加载 Web 视图时出错: Error: Could not register service workers: InvalidStateError: Fail

1) Close VSCode and also kill any background processes running in the task manager. Task Manager screenshot  (关闭vs)

2) Go to the file explorer and to the path C:\Users\<user_name>\AppData\Roaming\Code and clear the contents of the folders  (删除vs内部缓存)

  • Cache
  • CachedData
  • CachedExtensions
  • CachedExtensionVSIXs (if this folder exists)
  • Code Cache

3) Open VSCode and you are good to go.  (重新打开vs)

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/659300
推荐阅读
相关标签
  

闽ICP备14008679号