如何让整个Electron回溯?

时间:2017-06-08 19:00:00

标签: electron

当我使用电子修补程序打包我的应用程序进行分发时,我尝试运行它,我收到此错误:

enter image description here

有没有办法获得完整的回溯,因为我无法弄清楚这是什么错误。错误发生在那里,没有Electron / Chrome窗口弹出,当我调用.exe时,甚至没有控制台输出:

C:\Users\pupeno\Documents\Dashman\clients>dist\win-unpacked\Dashman.exe

C:\Users\pupeno\Documents\Dashman\clients>

尽管我打印"开始"从主脚本。我的package.json很简单:

{
  "name": "Dashman",
  "version": "0.1.0",
  "description": "Dashman is the ultimate dashboard manager.",
  "author": "Flexpoint Tech Ltd",
  "main": "main/main.js",
  "dependencies": {
    "bcryptjs": "^2.3.0",
    "secp256k1": "^3.2.5",
    "eccrypto": "^1.0.3",
    "raven-js": "^3.15.0",
    "material-design-icons": "^3.0.1"
  }
}

asar文件的内容在dist \ win-unpacked \ resources \ app.asar中包含:

\main\main.js

如下所示:

node_modules\.bin\asar l dist\win-unpacked\resources\app.asar

0 个答案:

没有答案