-
-
Notifications
You must be signed in to change notification settings - Fork 512
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
Snap maker consistently yields source-type error #1531
Comments
I can't reproduce this on either Travis CI or GitHub Actions: https://travis-ci.org/malept/electron-forge-demo123/jobs/657649048 Although I had a look at your |
tl;dr - My fault. Snapcraft was setup incorrectly. Thanks for your help with this. Just having access to that Travis CI instance gave me a starting point for troubleshooting. I worked backwards, getting my own minimal demo running through Travis CI before moving back to my local machine. The root of the problem was my unfamiliarity with snap & snapcraft. I installed snapcraft using the instructions on snapcraft.io. Those instructions tell you to install snapcraft through snap. And, based on a multipass error, I had a global instance of multipass installed (through snap) on a couple of the test machines. After purging both of those installs entirely from snap and simply installing snapcraft (and dependencies) through apt, things cleared up. (And the |
Preflight Checklist
Issue Details
Expected Behavior
Successful make - snap
Actual Behavior
To Reproduce
Minimal Test Case
Minimal Test Case Repo
https://github.com/btbaxter/electron-forge-snap
Additional Information
base: core18
and withoutSimilar to #1439 - had to independently install multipass. Also have to delete/purge any project multipass instances between attempts.
Everything yields the same base error --
Failed to pull source: unable to determine source type of '/home/btbaxter/my-app/out'. Check that the URL is correct or consider specifying `source-type` for this part. See `snapcraft help sources` for more information.
out
directory containsmake/snap/x64
(empty) &my-app-linux-x64
with packaged appI know it's more likely that I'm making a fundamental mistake here, but I've read all the docs I can find, tried multiple configs, and am at a loss.
The text was updated successfully, but these errors were encountered: