2016-08-01 8 views
0

を失敗した私はElectron Builderと私の電子アプリケーションをパッケージ化して構築しようとしているが、私はこのエラーを取得:電子アプリのビルドが

Error: File "/dist/win-unpacked/resources/app.asar" is corrupted: SyntaxError: Unexpected end of input 
at Object.<anonymous> (/node_modules/electron-builder/src/asarUtil.ts:376:13) 
at next (native) 
at tryOnImmediate (timers.js:534:15) 
at processImmediate [as _immediateCallback] (timers.js:514:5) 
From previous event: 
at tsAwaiter (/node_modules/electron-builder/src/util/awaiter.ts:10:47) 
at Object.build (/node_modules/electron-builder/src/builder.ts:193:52) 
at Object.<anonymous> (/node_modules/electron-builder/src/build-cli.ts:27:28) 
at Module._compile (module.js:413:34) 
at Object.Module._extensions..js (module.js:422:10) 
at Module.load (module.js:357:32) 
at Function.Module._load (module.js:314:12) 
at Function.Module.runMain (module.js:447:10) 
at startup (node.js:148:18) 
at node.js:405:3 

任意のアイデア?

ありがとうございます!

+0

に、ファイルの問題を失敗した場合は削除フォルダをnode_modulesとNPMで再インストールしてください? – Tieme

答えて

関連する問題