Missing executable file in snap package
Closed this issue · 6 comments
My repo is here: https://github.com/fairking/electron-cgi-calculator-demo
If I try to run the project everything works fine so far.
But if I create a snap package and then install it on the linux machine the line:
_connection = new ConnectionBuilder().connectTo('./DotNetCalculator/DotNetCalculator').build();
the line complains about missing DotNetCalculator
file.
Can somebody help to figure out what is going on?
The file is definitely there.
Thanks
Hi @fairking
I suggest you try going to your /snap/folderWithYourAppsSnapName and looking for the location where the executable ended up inside the snap.
I'm giving up. Making a normal RPM. I have a bad experience with all that SNAP stuff.
Good luck
I suggest you try going to your /snap/folderWithYourAppsSnapName
I tried many different ways. It says "File not found" or "Exited with code 1" or something else but it never worked.
You can see yourself if you are interested. It is very simple example. Nothing complicated. https://github.com/fairking/electron-cgi-calculator-demo
By the way thanks for the reply.
I managed to create a rpm package with no issues. Installed version is working fine. Thanks @ruidfigueiredo .
@fairking Thanks for letting me know!