Linux build instructions problems
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.
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.
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 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 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.