赞
踩
这个问题遇到好几次了,每次都得去搜一阵,这里记录一下.
使用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内部缓存)
3) Open VSCode and you are good to go. (重新打开vs)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。