Ubuntu 14.04 运行npm run app和npm 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)
Ubuntu 14.04 运行
npm run app
和npm run service
,按任意键继续之后弹出如下错误