Created
April 27, 2018 10:04
-
-
Save JohnWeisz/274ea9dd8823da56f7b8f7f0cf914f9f to your computer and use it in GitHub Desktop.
When building AppImage for linux, getting "TypeError: Cannot match against undefined or null"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build --linux --x64 | |
• electron-builder version=20.10.0 | |
• loaded configuration file=package.json ("build" field) | |
• writing effective config file=dist\electron-builder-effective-config.yaml | |
• no native production dependencies | |
• packaging platform=linux arch=x64 electron=2.0.0-beta.7 appOutDir=dist\linux-unpacked | |
• scheduling remote build target=appImage arch=x64 | |
• building target=zip arch=x64 file=dist\audionodes-0.2.0.zip | |
TypeError: Cannot match against 'undefined' or 'null'. | |
at Object.<anonymous> (D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\remoteBuilder\RemoteBuildManager.ts:31:5) | |
at Module._compile (module.js:570:32) | |
at Object.Module._extensions..js (module.js:579:10) | |
at Module.load (module.js:487:32) | |
at tryModuleLoad (module.js:446:12) | |
at Function.Module._load (module.js:438:3) | |
at Module.require (module.js:497:17) | |
at require (internal/module.js:20:19) | |
at _RemoteBuildManager (D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\out\remoteBuilder\RemoteBuilder.js:61:16) | |
at D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\remoteBuilder\RemoteBuilder.ts:121:37 | |
at next (native) | |
From previous event: | |
at findBuildAgent (D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\out\remoteBuilder\RemoteBuilder.js:132:17) | |
at D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\remoteBuilder\RemoteBuilder.ts:66:48 | |
at next (native) | |
From previous event: | |
at RemoteBuilder._build (D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\remoteBuilder\RemoteBuilder.ts:104:5) | |
at _bluebirdLst.default.mapSeries.arch (D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\out\remoteBuilder\RemoteBuilder.js:172:19) | |
From previous event: | |
at RemoteBuilder.build (D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\remoteBuilder\RemoteBuilder.ts:49:6) | |
at D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\linuxPackager.ts:99:30 | |
From previous event: | |
at RemoteTarget.finishBuild (D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\out\linuxPackager.js:191:7) | |
at D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\packager.ts:380:36 | |
at next (native) | |
at runCallback (timers.js:672:20) | |
at tryOnImmediate (timers.js:645:5) | |
at processImmediate [as _immediateCallback] (timers.js:617:5) | |
From previous event: | |
at Packager.doBuild (D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\out\packager.js:605:7) | |
at D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\packager.ts:316:52 | |
at next (native) | |
at D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\fs-extra-p\node_modules\fs-extra\node_modules\graceful-fs\graceful-fs.js:99:16 | |
at D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\update-notifier\node_modules\configstore\node_modules\graceful-fs\graceful-fs.js:43:10 | |
at D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\fs-extra-p\node_modules\fs-extra\node_modules\graceful-fs\graceful-fs.js:43:10 | |
at FSReqWrap.oncomplete (fs.js:123:15) | |
From previous event: | |
at Packager._build (D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\out\packager.js:532:7) | |
at D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\packager.ts:289:23 | |
at next (native) | |
at runCallback (timers.js:672:20) | |
at tryOnImmediate (timers.js:645:5) | |
at processImmediate [as _immediateCallback] (timers.js:617:5) | |
From previous event: | |
at Packager.build (D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\out\packager.js:491:7) | |
at D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\src\index.ts:51:40 | |
at next (native) | |
From previous event: | |
at build (D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\electron-builder-lib\out\index.js:220:17) | |
at build (D:\VSTS Build\externals\npm\node_modules\electron-builder\src\builder.ts:229:10) | |
at then (D:\VSTS Build\externals\npm\node_modules\electron-builder\src\cli\cli.ts:43:10) | |
at runCallback (timers.js:672:20) | |
at tryOnImmediate (timers.js:645:5) | |
at processImmediate [as _immediateCallback] (timers.js:617:5) | |
From previous event: | |
at Object.args [as handler] (D:\VSTS Build\externals\npm\node_modules\electron-builder\src\cli\cli.ts:43:10) | |
at Object.runCommand (D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\yargs\lib\command.js:235:44) | |
at Object.parseArgs [as _parseArgs] (D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\yargs\yargs.js:1042:24) | |
at Object.get [as argv] (D:\VSTS Build\externals\npm\node_modules\electron-builder\node_modules\yargs\yargs.js:957:21) | |
at Object.<anonymous> (D:\VSTS Build\externals\npm\node_modules\electron-builder\src\cli\cli.ts:28:22) | |
at Module._compile (module.js:570:32) | |
at Object.Module._extensions..js (module.js:579:10) | |
at Module.load (module.js:487:32) | |
at tryModuleLoad (module.js:446:12) | |
at Function.Module._load (module.js:438:3) | |
at Module.runMain (module.js:604:10) | |
at run (bootstrap_node.js:389:7) | |
at startup (bootstrap_node.js:149:9) | |
at bootstrap_node.js:504:3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment