Closed chyroc closed 7 years ago
if you can give some suggestion, thank you very much.
@Chyroc
Sorry for the trouble you are running into. The use of electron-packager
is unfortunately very buggy right now, due to horrible npm
bugs. I would highly suggest trying to use electron-builder
as many of the issues are handled much better.
If you really need electron-packager
, then I would suggest trying to use npm@5.2.0
or maybe settings the package manager to use yarn
. Hope this helps.
Related: #348
Describe the issue / bug.
if i run it by
npm run dev
, it is okif i build it with
npm build
and run it, it is not ok.(mac and windows have the same error -- blank screen)How can I reproduce this problem?
yes,you can do something below:
and my config is
npm run dev
, it is oknpm build
ornpm run build:darwin
,it is blankIf visual, provide a screenshot.
Tell me about your development environment.