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.

Disable publishing to Snapcraft

See original GitHub issue
  • Version: 22.6.0

  • Electron Version: 8.2.5

  • Electron Type (current, beta, nightly): current

  • Target: linux

https://github.com/electron-userland/electron-builder/issues/3187#issuecomment-627946515

Failed building both in Docker and Travis due to

Install the review-tools from the Snap Store for enhanced checks before uploading this snap.
You are required to login before continuing.
Enter your Ubuntu One e-mail address and password.
If you do not have an Ubuntu One account, you can create one at https://snapcraft.io/account
Authentication error: Failed to get unbound discharge: Invalid request data
  ⨯ exit status 2
github.com/develar/app-builder/pkg/util.ExecuteAndPipeStdOutAndStdErr
	/Volumes/data/Documents/app-builder/pkg/util/exec.go:23
github.com/develar/app-builder/pkg/package-format/snap.publishToStore
	/Volumes/data/Documents/app-builder/pkg/package-format/snap/snapStore.go:35
github.com/develar/app-builder/pkg/package-format/snap.ConfigurePublishCommand.func1
	/Volumes/data/Documents/app-builder/pkg/package-format/snap/snapStore.go:18
github.com/alecthomas/kingpin.(*actionMixin).applyActions
	/Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/actions.go:28
github.com/alecthomas/kingpin.(*Application).applyActions
	/Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
	/Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:390
github.com/alecthomas/kingpin.(*Application).Parse
	/Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:222
main.main
	/Volumes/data/Documents/app-builder/main.go:90
runtime.main
	/usr/local/Cellar/go/1.14.2_1/libexec/src/runtime/proc.go:203
runtime.goexit
	/usr/local/Cellar/go/1.14.2_1/libexec/src/runtime/asm_amd64.s:1373  
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! e-rep2recall@0.3.1 build: `electron-builder -p always`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the e-rep2recall@0.3.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/travis/.npm/_logs/2020-05-13T04_49_27_000Z-debug.log

The package.json is

  "build": {
    "publish": [
      {
        "provider": "github"
      }
    ],
    "files": [
      "server/**/*",
      "web/**/*",
      "app.js"
    ]
  }

I don’t have Ubuntu One credentials, nor do I want to create one.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
itsUnsmartcommented, Jun 18, 2020

this shit is hella broken

4reactions
pietrovismaracommented, May 31, 2022

The supposed “solution” is a hacky workaround. Why is there no clear way to disable Snapcraft? This issue should still be open.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Future option to disable all compression when installing a snap?
Would it be possible to eventually add an option to disable all compression when installing all snaps? (Or on a snap to snap...
Read more >
System options | Snapcraft documentation
Disabling automatic snapshots will not affect preexisting, automatically generated snapshots, but only those generated by subsequent snap removals. Automatic ...
Read more >
Commands and aliases | Snapcraft documentation
For this reason, aliases can be easily disabled and re-enabled with the unalias ... installed $ snap aliases lxd Command Alias Notes lxd.lxc...
Read more >
Service management | Snapcraft documentation
Stopping snap services manually may cause the snap to malfunction. For temporarily disabling a snap consider using the enable and disable commands instead....
Read more >
Snapcraft.yaml reference
The name must be unique if you want to publish to the Snap Store. ... Disabling this could be useful for minimal base...
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