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.

interface 'platform' doesn't exist

See original GitHub issue

electron-builder version 11.2.6

64 bit and 32 bit Linux targets

I am building my snap with this configuration

...
    "linux": {
      "synopsis": "shortened...",
      "category": "Audio",
      "packageCategory": "GNOME;GTK;AudioVideo;Audio;Player",
      "depends": [
        "libappindicator1",
        "libindicator7",
        "libnotify4",
        "notify-osd",
        "wget",
        "unzip",
        "tar"
      ],
      "target": [
        "AppImage",
        "deb",
        "zip",
        "snap"
      ]
    }
  },
  "snap": {
      "confinement": "devmode",
      "grade": "stable"
  }, ...

I had my package reviewed and it has an interface named ‘platform’ - where did this come from and how do I remove it because it’s automatically generated with electron-builder. Do I need to configure my snap differently or is this a bug?

Evan Dandrea evan.dandrea at canonical.com 
Mon Jan 16 09:12:30 UTC 2017

Hi Matthew,

You've set your snap to use the 'platform' interface, but no such interface
exists. If you remove that line and 'unity8', then re-upload, it should
pass review.

Do you recall what you read that referenced a 'platform' interface? If
there's some outdated documentation out there, I'd like to get it fixed.

Let us know if you need any more help, and thanks for snapping Spotify!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
develarcommented, Jan 16, 2017

Workaround until fixed version is not published: https://github.com/electron-userland/electron-builder/issues/509#issuecomment-269079536

  1. build snap using electron-builder
  2. edit generated snapcraft.yaml in the dist/linux-unpacked-snap
  3. run snapcraft snap (current working directory must be dist/linux-unpacked-snap).

linux-unpacked-snap is not deleted after build for this purpose.

0reactions
develarcommented, Jan 16, 2017

@Quacky2200 Is is not only Qt, but gconf/gtk/other weird stuff that is required to run electron apps (UI apps). Currently, usability is a nightmare.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: The type or namespace name 'Interface' does not exist ...
I am developing an application using Xamarin and got stuck into this error. The error has been generated from my .
Read more >
class which implements interface - "property does not exist on ...
The error shown is a legitimate error. The interface has not been actually implemented within the class. Please see the TypeScript interface ...
Read more >
Error: interface wlo1 doesn't exist. How should I fix this? - Reddit
this probably means that you entered the wrong interface name during the installation. try running "ip a" in the terminal. (NOTE that if...
Read more >
Interface mapping Object does not exist in runtime cache
I am getting the following error after importing IR into our test system (PI7. 0 SP10). You want to execute interface mapping Object...
Read more >
Interface ethernet eth4: does not exist - VyOS forum
After removing IP addresses from the interface in order to use a different provider the interface does not exist anymore.
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