electron 中遇到的报错
生活随笔
收集整理的這篇文章主要介紹了
electron 中遇到的报错
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
1. Uncaught?(in?promise)?Error:?Failed?to?open? 。?
let shell = window.require("electron").shellshell.openExternal(url) 報上面的錯1 原因:系統(tǒng)默認瀏覽器被刪除,需要重新設(shè)置電腦默認瀏覽器2.??electron打包index.js 缺失
Application entry file "index.js" in the "F:\projectSummary\cnbi-web\release\win-unpacked\resources\app.asar" does not exist. Seems like a wrong configuration.
在package.json文件中添加
"main": "background.js"?3.vue 插件安裝不成功?
Unable to install `vue-devtools`:
? ?Error: net::ERR_CONNECTION_TIMED_OUT
4. vue中npm publish 報錯 -4048?: npm login 重新登錄
?
總結(jié)
以上是生活随笔為你收集整理的electron 中遇到的报错的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【Axure交互教程】购物车结算效果
- 下一篇: UE4-蓝图-角色的移动,视角控制(四)