question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

This issue is happening on Ubuntu 20.04. My .DEB builds fine, but .SNAP has an issue. Almost like what I’ve seen here -> https://github.com/electron-userland/electron-forge/issues/1607

{
          "name": "@electron-forge/maker-snap",
          "config": {
            "name": "xxx",
            "version": "1.0.0",
            "appConfig":{
              "base": "core18"
            },
            "features": {
              "audio": true,
              "mpris": "com.xxx.xxx",
              "webgl": true
            },
            "summary": "xxx",
            "description": "xxx"
          }
        }
An unhandled error has occurred inside Forge:
An error occured while making for target: snap
Command failed with a non-zero return code (2):
/usr/bin/snapcraft snap --target-arch=amd64 --output=/home/xxx/xxx.snap
Error: Command failed with a non-zero return code (2):
/usr/bin/snapcraft snap --target-arch=amd64 --output=/home/xxx/xxx.snap
    at ChildProcess.<anonymous> (/home/xxx/xxx/node_modules/@malept/cross-spawn-promise/src/index.ts:155:16)
    at ChildProcess.emit (events.js:310:20)
    at ChildProcess.EventEmitter.emit (domain.js:482:12)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
maleptcommented, May 29, 2020

I haven’t tested this, but it probably works if you run Snapcraft 4.0 and you set base to core20.

1reaction
yanikecommented, May 29, 2020

Please don’t close this until we have a working solution.

Open issues in the issue tracker are for bugs and feature requests. This issue is effectively a support ticket.

Consider building the snap in an Ubuntu 18.04 VM or container (for example, the Docker container malept/electron-forge-container:node-10). Snapcraft seems to be launching its own VM and strange things are happening, which are outside the scope of Electron Forge.

So are you basically saying that Electron Forge can’t be used right now to develop Snap apps on Ubuntu 20.04 LTS? This should be stated on your website. Especially when all I did was follow your guide from scratch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

make-snap Issue · Issue #1652 · electron/forge - GitHub
This issue is happening on Ubuntu 20.04. My .DEB builds fine, but .SNAP has an issue. Almost like what I've seen here ->...
Read more >
makesnap mdl availability? - MicroStation Forum
I'm trying to find a mdl called makesnap.ma which from a search I found should be ... CONNECT Edition so that Makesnap.ma can...
Read more >
Snapchat Support
Discover tips and tricks, find answers to common questions, and get help! Contact Us. Using Snapchat. Managing My Account. Safety and Security. Privacy ......
Read more >
Qt5 [make -snap] doesn't compile properly: The process "/usr ...
Error while building/deploying project myProject (kit: Desktop Qt 5.12.5 GCC 64bit) The kit Desktop Qt 5.12.5 GCC 64bit has configuration issues ...
Read more >
The Supplemental Nutrition Assistance Program (SNAP)
These features make SNAP a powerful anti-poverty tool. ... complete reviews as they adapted to remote operations and other workload issues.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found