VsCode 源碼編譯報錯timeout 【解決方案】

Unable to launch browser: "Could not connect to debug target at http://localhost:9222: Cancelled GET http://localhost:9222/json/version": timeout after 20000ms

經過多次測試,發現問題誘因: 1.修改了product.json中dataFolderName屬性; 2.並在這個過程中爲項目添加了插件; 解決方法: 1.刪除C:\Users${user}.${dataFolderName} 目錄。 2.在項目根目錄刪除.build\electron目錄。 3.在項目根目錄運行yarn run electron。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章