Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building snap results in endless making process #1439

Closed
jshamg opened this issue Jan 28, 2020 · 7 comments
Closed

Building snap results in endless making process #1439

jshamg opened this issue Jan 28, 2020 · 7 comments
Labels
blocked/upstream Issues blocked by upstream bugs

Comments

@jshamg
Copy link

jshamg commented Jan 28, 2020

Preflight Checklist

  • [x ] I have read the contribution documentation for this project.
  • [x ] I agree to follow the code of conduct that this project follows, as appropriate.
  • [x ] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Issue Details

  • Electron Forge Version:
    • 6.0.0-beta.47
  • Electron Version:
    • v7.1.10
  • Operating System:
    • Fedora 31
  • Last Known Working Electron Forge version::

Expected Behavior

Successfully building to the snap target.

Actual Behavior

Building starts and never finishes.
stuck on:
⠧ Making for target: snap - On platform: linux - For arch: x64Setting target machine to 'amd64'
Animation on the left ist still running...

To Reproduce

my @electron-forge/maker-snap is empty, because of testing (every config is listed as optional in the docs).

Additional Information

@jshamg jshamg added the bug label Jan 28, 2020
@malept
Copy link
Member

malept commented Jan 28, 2020

I suspect snapcraft is trying to download a bunch of things. Can you run it with the environment variable DEBUG=electron-installer-snap:snapcraft ?

@jshamg
Copy link
Author

jshamg commented Jan 28, 2020

I already did that sorry for not mentioning, before using this environment variable I got an error I read about it in another post here...

@jshamg
Copy link
Author

jshamg commented Jan 28, 2020

Please help... I need the snap soon...

@malept malept added blocked/upstream Issues blocked by upstream bugs and removed bug labels Jan 28, 2020
@malept
Copy link
Member

malept commented Jan 28, 2020

This sounds like your snapcraft installation is broken somehow, if snapcraft is hanging there. I would suggest using a Docker container instead if you don't want to try to troubleshoot your snapcraft installation. For example, malept/electron-forge-container:node-10.

@malept malept closed this as completed Jan 28, 2020
@jshamg
Copy link
Author

jshamg commented Jan 28, 2020

i mean i installed snapcraft via snap, my system is really clean... how can I debug it?

@malept
Copy link
Member

malept commented Jan 29, 2020

I ran DEBUG=electron-installer-snap:snapcraft npm run make in a clean Fedora VM and it prompted me to install/configure multipass. I think it would be less painful if you used a Docker container that ran Ubuntu.

@jshamg
Copy link
Author

jshamg commented Jan 29, 2020

Yes I had that one too when I tried to snapcraft a demo snap (not via electron forge), but it wouldn't work anyways... I have no idea how docker works so I think this isn't an option for me... I will try to use a vm with Ubuntu but if that doesn't work I skip the snap package 😅 but thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked/upstream Issues blocked by upstream bugs
Projects
None yet
Development

No branches or pull requests

2 participants