nodegui / packer

Package and deploy apps built with NodeGui to all platforms
206 stars 15 forks source link

AppImage run node REPL #163

Open thantez opened 2 years ago

thantez commented 2 years ago

Hi. I want to build and release this app: https://github.com/thantez/ayahday.git

But neither on Linux nor on Windows 10 I can't get intended output. On Linux this packer will make a AppImage file, but this file isn't what I want! It can't run if graphically click on this file and by TTY it runs node REPL.

image

So I do this for packing on Linux:

git clone https://github.com/thantez/ayahday.git
yarn install
yarn start # to check it runs well or not
npx nodegui-packer --init AyahDay
yarn run build
npx nodegui-packer --pack ./dist

then it prints these logs: https://pastebin.com/4xuTDJ6z

On window, I follow commands that mentioned before and output is like this issue: https://github.com/nodegui/packer/issues/105#issue-687892231

P.S.: Everything works well when I just start to run project on development mode. P.S.2: Versions of dependencies:

$ cmake --version                            

cmake version 3.21.3

CMake suite maintained and supported by Kitware (kitware.com/cmake).
$ gcc --version                 
gcc (GCC) 11.1.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ make --version       
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

and my Linux distro is this:

Linux thantez 5.14.7-arch1-1 #1 SMP PREEMPT Wed, 22 Sep 2021 21:35:11 +0000 x86_64 GNU/Linux
thantez commented 2 years ago

Maybe this can be helpful: image image when I start AppRun it runs node REPL and get process resources. Probably something is under run, but nothing shows. Running AppImage cause this too.

piotr-placzek commented 2 years ago

+1