VS Code加载 Web 视图时出错: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state
解决方法
关闭所有运行的VS Code
打开cmd输出以下
code --no-sandbox
会自动打开vscode,Could not register service workers问题就好了
VS Code加载 Web 视图时出错: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state解决方法关闭所有运行的VS Code打开cmd输出以下code --no-sandbox会自动打开vscode,Could not register service workers问题就