Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Ubuntu上启动失败 #3

Open
djndl1 opened this issue Jun 3, 2018 · 2 comments
Open

Ubuntu上启动失败 #3

djndl1 opened this issue Jun 3, 2018 · 2 comments

Comments

@djndl1
Copy link

djndl1 commented Jun 3, 2018

Ubuntu 14.04 运行npm run appnpm run service,按任意键继续之后弹出如下错误

A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Error processing argument at index 0, conversion failure from /home/djn_dl/桌面/doufen/src/app/app.ico
    at createTray (/home/djn_dl/桌面/doufen/src/app/window.js:133:16)
    at BrowserWindow.splash.once (/home/djn_dl/桌面/doufen/src/app/main.js:179:21)
    at Object.onceWrapper (events.js:316:30)
    at emitOne (events.js:115:13)
    at BrowserWindow.emit (events.js:210:7)
    at EventEmitter.<anonymous> (/home/djn_dl/桌面/doufen/node_modules/electron/dist/resources/electron.asar/browser/rpc-server.js:478:12)
    at emitOne (events.js:115:13)
    at EventEmitter.emit (events.js:210:7)
    at WebContents.<anonymous> (/home/djn_dl/桌面/doufen/node_modules/electron/dist/resources/electron.asar/browser/api/web-contents.js:275:13)
    at emitTwo (events.js:125:13)
@tabris17
Copy link
Owner

tabris17 commented Jun 3, 2018

好像是图标文件格式错误导致的,你试试把app.ico用别的图标替换试试。随便找个ico图标把它覆盖了

@tabris17
Copy link
Owner

tabris17 commented Jun 5, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants