inky icon indicating copy to clipboard operation
inky copied to clipboard

Linux build instructions problems

Open kfedick opened this issue 5 years ago • 4 comments

I had a couple of issues using the build instructions for Linux with Ubuntu 20.04.1 LTS. Here is a list of the issues and what I did to workaround the them.

The line: curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

Issue: Fails to install. There is a depreciation warning and it says that the particular distribution that I am using (Codename: focal) is not supported.

Workaround: sudo apt-get install npm

Fixed the issue for me but may have installed more than was necessary if only a specific component was required.

The line: mono app/main-process/ink/inklecate_win.exe

Issue: Exits and returns the error: Cannot open assembly 'app/main-process/iCannot open assembly 'app/main-process/ink/inklecate_win.exe': File does not contain a valid CIL image.nk/inklecate_win.exe': File does not contain a valid CIL image.

Workaround: I skipped it and ran the ./INSTALL command instead and everything worked fine. Inky opens and appears to be running properly as well.

kfedick avatar Dec 08 '20 01:12 kfedick

Can you point to the instructions you are following? Probably they are outdated. To satisfy the BUILD_FOR_LINUX.sh script, I have globally installed:

  • npm@latest
  • electron-packager

Although I use pipenv and nodeenv to avoid messing my system.

manuq avatar Dec 12 '20 22:12 manuq

The instructions I was following were on the main git hub web page. https://github.com/inkle/inky

On Sat, Dec 12, 2020 at 5:05 PM manuq [email protected] wrote:

Can you point to the instructions you are following? Probably they are outdated. To satisfy the BUILD_FOR_LINUX.sh script, I have globally installed:

  • npm@latest
  • electron-packager

Although I use pipenv and nodeenv https://github.com/manuq/inky/commit/c9d57b7273c7dda6fb08ad49fd211366e68406f3 to avoid messing my system.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/inkle/inky/issues/300#issuecomment-743911790, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBWL5QHHO6X24Z4CADQJYTSUPSL3ANCNFSM4URIAVGA .

kfedick avatar Dec 27 '20 17:12 kfedick

@kfedick I am getting the same error message when attempting mono inklecate_win.exe. Are you able to use the "Export to web" feature? I believe it requires mono in order to work (it is not working for me, see https://github.com/inkle/inky/issues/354 )

lofidevops avatar Feb 22 '22 13:02 lofidevops

@lofidevops I just tested it on my Linux build, and although I'm getting the same error when I run mono inklecate_win.exe, I was able to Export to Web and Export story.js without issue.

EDIT: Should note that I do have mono installed on Linux too, but it just gives me the same error as described above when I run the command.

davidwesst avatar Mar 09 '22 03:03 davidwesst