Error: No such command "pack".
See original GitHub issue“electron-builder”: “20.0.8”,
–linux snap --x64
Error: No such command "pack".
Error: /project/node_modules/app-builder-bin-linux/x64/app-builder exited with code 1
at ChildProcess.childProcess.once.code (/project/node_modules/builder-util/src/util.ts:252:14)
at Object.onceWrapper (events.js:318:30)
at emitTwo (events.js:125:13)
at ChildProcess.emit (events.js:213:7)
at maybeClose (internal/child_process.js:927:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
From previous event:
at SnapTarget.build (/project/node_modules/electron-builder-lib/out/targets/snap.js:174:11)
at taskManager.addTask.default.map.it (/project/node_modules/electron-builder-lib/src/platformPackager.ts:121:67)
From previous event:
at LinuxPackager.packageInDistributableFormat (/project/node_modules/electron-builder-lib/src/platformPackager.ts:121:23)
at /project/node_modules/electron-builder-lib/src/platformPackager.ts:116:10
at Generator.next (<anonymous>)
at runCallback (timers.js:785:20)
at tryOnImmediate (timers.js:747:5)
at processImmediate [as _immediateCallback] (timers.js:718:5)
From previous event:
at LinuxPackager.pack (/project/node_modules/electron-builder-lib/out/platformPackager.js:188:11)
at /project/node_modules/electron-builder-lib/src/packager.ts:372:24
at Generator.next (<anonymous>)
at xfs.mkdir.er (/project/node_modules/fs-extra/lib/mkdirs/mkdirs.js:37:14)
at FSReqWrap.oncomplete (fs.js:136:15)
From previous event:
at Packager.doBuild (/project/node_modules/electron-builder-lib/out/packager.js:441:11)
at /project/node_modules/electron-builder-lib/src/packager.ts:316:52
From previous event:
at Packager._build (/project/node_modules/electron-builder-lib/out/packager.js:385:11)
at /project/node_modules/electron-builder-lib/src/packager.ts:278:23
at Generator.next (<anonymous>)
at runCallback (timers.js:785:20)
at tryOnImmediate (timers.js:747:5)
at processImmediate [as _immediateCallback] (timers.js:718:5)
From previous event:
at Packager.build (/project/node_modules/electron-builder-lib/out/packager.js:341:11)
at /project/node_modules/electron-builder-lib/src/index.ts:50:40
at Generator.next (<anonymous>)
From previous event:
at build (/project/node_modules/electron-builder-lib/out/index.js:47:21)
at build (/project/node_modules/electron-builder/src/builder.ts:228:10)
at then (/project/node_modules/electron-builder/src/cli/cli.ts:48:33)
at runCallback (timers.js:785:20)
at tryOnImmediate (timers.js:747:5)
at processImmediate [as _immediateCallback] (timers.js:718:5)
From previous event:
at Object.args [as handler] (/project/node_modules/electron-builder/src/cli/cli.ts:48:33)
at Object.runCommand (/project/node_modules/yargs/lib/command.js:235:44)
at Object.parseArgs [as _parseArgs] (/project/node_modules/yargs/yargs.js:1024:28)
at Object.get [as argv] (/project/node_modules/yargs/yargs.js:957:21)
at Object.<anonymous> (/project/node_modules/electron-builder/src/cli/cli.ts:42:15)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Function.Module.runMain (module.js:665:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
- Console output log https://travis-ci.org/vladimiry/protonmail-desktop-app/jobs/344737146
- electron-builder.yml https://github.com/vladimiry/protonmail-desktop-app/blob/c5a8f9ae8c689eb352d1ac947fed87f9fada5bdf/electron-builder.yml
- package.json https://github.com/vladimiry/protonmail-desktop-app/blob/c5a8f9ae8c689eb352d1ac947fed87f9fada5bdf/package.json
- .travis.yml https://github.com/vladimiry/protonmail-desktop-app/blob/c5a8f9ae8c689eb352d1ac947fed87f9fada5bdf/.travis.yml
- docker image
electronuserland/builder:8
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Error: No such command "home" · Issue #2923 - GitHub
I tried to remove both PlatformIO from VSC and reinstall and also reinstalled VSC, with no luck. The only thing that helped was...
Read more >Error: No such command "ci" (Platformio 5.0.1 / 5.0.3)
Hi,. I am using Platformio under Linux (Gentoo). Gentoo installs version 5.0.1. and “pip install --user platformio” installs version 5.0.3.
Read more >Error: No such command "aldex2" - QIIME 2 Forum
I get the following error: Usage: qiime [OPTIONS] COMMAND [ARGS]… Try “qiime --help” for help. Error: No such command “aldex2”. ... Does this...
Read more >Error: No such command 'flower'. Did you mean one of these ...
end when i am using celery --help, there is no flower command: Commands: amqp AMQP Administration Shell. beat Start the beat periodic task ......
Read more >Error: No such command "db". : Forums - PythonAnywhere
I am left with the error Error: No such command "db". I tried running the command in a venv ... Recreate it, install...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If I do
PATH=/snap/bin:$PATH
explicitly before running electron-builder, thenexec: "snapcraft": executable file not found in $PATH
error is gone, running withelectronuserland/builder
image https://github.com/vladimiry/protonmail-desktop-app/blob/60988931b28efc4dfd8474a311b076dc9cb26a7d/.travis.yml#L63 So issue is solved for me.I have the same problem