Vscode——報錯完整信息
加載 Web 視圖時出錯: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state…
很有意思下班前還是好的,上班發現下載的Ai code 無法正常使用了
解決辦法
?第一步. 將Vs code 完全關閉
?第二步. 使用 Window + R 輸入Cmd 打開黑窗口
?
第三步. 輸入code --no-sandbox 回車會自動打開Vs code 窗口
code --no-sandbox
? ? ? 如果還是不行 使用Ctrl + Alt + Del 打開任務管理器,看看是不是有后臺運行的沒有關閉,結束任務之后再重復上方步驟