node-webkit-haxelib icon indicating copy to clipboard operation
node-webkit-haxelib copied to clipboard

haxelib run HIDE, nothing happens

Open logiquefloue opened this issue 11 years ago • 12 comments

Ola,

I run haxelib install HIDE which install HIDE then haxelib run HIDE which install and download the last node-webkit. But then nothing more happens, I un again haxelib run HIDE, nothing happens.

Any idea ? Cause it looks great :)

my terminal, hxlib is an alias for sudo haxelib:

noor@emma ~ $ hxlib run HIDE Looking for node-webkit url... Found a new version of node-webkit binary: node-webkit-v0.9.2-linux-ia32.tar.gz Main.hx:335: http://dl.node-webkit.org/v0.9.2/node-webkit-v0.9.2-linux-ia32.tar.gz Main.hx:347: http://dl.node-webkit.org/v0.9.2/node-webkit-v0.9.2-linux-ia32.tar.gz Downloading node-webkit-v0.9.2-linux-ia32.tar.gz... Download complete : 38909287 bytes in 52s (729.6KB/s) node-webkit-v0.9.2-linux-ia32/ node-webkit-v0.9.2-linux-ia32/nwsnapshot node-webkit-v0.9.2-linux-ia32/credits.html node-webkit-v0.9.2-linux-ia32/nw node-webkit-v0.9.2-linux-ia32/nw.pak node-webkit-v0.9.2-linux-ia32/libffmpegsumo.so Done noor@emma ~ $ hxlib run HIDE noor@emma ~ $

logiquefloue avatar Aug 20 '14 14:08 logiquefloue

On Linux Mint

logiquefloue avatar Aug 20 '14 14:08 logiquefloue

Do you using 32-bit version of Linux Mint?

I tested it on 64-bit version of Linux Mint worked fine.

as3boyan avatar Aug 20 '14 14:08 as3boyan

32 bit yes

logiquefloue avatar Aug 20 '14 16:08 logiquefloue

I will look again tomorrow, cause I went to the whole process of installing the git and plugin-based version, which were missing haxeparser, hxparse and CodeMirror....so I went into a lot of stuff to compile from source to end up with the same result. It looks like failing silently.

logiquefloue avatar Aug 20 '14 16:08 logiquefloue

I installed node.js and grunt, trying to run nw inside the bin folder of HIDE, but did not succeed in running anything, I just see the help menu of the nw command.

New to all this, I could use some help to manually launch HIDE with nw and debug it.

logiquefloue avatar Aug 20 '14 17:08 logiquefloue

haxeparser, hxparse and CodeMirror

Don't forget to clone recursively to init submodules

git clone --recursive https://github.com/HaxeIDE/HIDE.git

as3boyan avatar Aug 20 '14 17:08 as3boyan

I installed node.js and grunt, trying to run nw inside the bin folder of HIDE, but did not succeed in running anything, I just see the help menu of the nw command. New to all this, I could use some help to manually launch HIDE with nw and debug it.

To run compiled HIDE you need only http://dl.node-webkit.org/v0.10.2/node-webkit-v0.10.2-linux-ia32.tar.gz

extract it to HIDE location(haxelib) and run nw if you cloned github repo then you might need to extract it to bin folder instead

as3boyan avatar Aug 20 '14 18:08 as3boyan

Thank you for those hints, I'm gonna use them soon

logiquefloue avatar Aug 21 '14 12:08 logiquefloue

Running! Slick!

So I installed nw v10 you gave me in the bin directory of git HIDE after compiling it sudo haxe HIDE.hxml

Then there was the missing library libudev.so.0 so I tried the workaround of this page: https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0

And the last one worked, running this in the bin folder: sudo sed -i 's/udev.so.0/udev.so.1/g' ./nw

using ./nw to be sure to affect the local nw and not the global one I installed before.

Thankyou!!

logiquefloue avatar Aug 21 '14 13:08 logiquefloue

Thank you. Sorry for inconvenience.

as3boyan avatar Aug 21 '14 16:08 as3boyan

that's cool man, now I know about --recursive in git :)

2014-08-21 17:45 GMT+01:00 as3boyan [email protected]:

Thank you. Sorry for inconvenience.

— Reply to this email directly or view it on GitHub https://github.com/as3boyan/node-webkit-haxelib/issues/4#issuecomment-52947680 .

logiquefloue avatar Aug 21 '14 21:08 logiquefloue

The same thing. Nothing happens. I could not start HIDE or any html files.

$ haxelib run node-webkit /usr/lib/haxelib/node-webkit/1,0,7/rogerwang_node-webkit.html 
$ haxelib run node-webkit http://google.com/

64-bit Fedora 22.

What surprised me, node-webkit was installed with run HIDE command. And the folder version (1,0,7) and the archive version (0.9.2), unpacks in the folder, are different.

haxelib run HIDE
Looking for node-webkit url...
Found a new version of node-webkit binary: node-webkit-v0.9.2-linux-x64.tar.gz
File found. Install existing file? y/n/a
n
Main.hx:335: http://dl.node-webkit.org/v0.9.2/node-webkit-v0.9.2-linux-x64.tar.gz
Main.hx:347: http://dl.node-webkit.org/v0.9.2/node-webkit-v0.9.2-linux-x64.tar.gz
Downloading node-webkit-v0.9.2-linux-x64.tar.gz...
File found. Install existing file? y/n/a
n
Main.hx:335: http://dl.nwjs.io/v0.9.2/node-webkit-v0.9.2-linux-x64.tar.gz
Main.hx:347: http://dl.nwjs.io/v0.9.2/node-webkit-v0.9.2-linux-x64.tar.gz
Downloading node-webkit-v0.9.2-linux-x64.tar.gz...
Download complete : 42684969 bytes in 80s (520.8KB/s)
node-webkit-v0.9.2-linux-x64/
node-webkit-v0.9.2-linux-x64/nwsnapshot
node-webkit-v0.9.2-linux-x64/credits.html
node-webkit-v0.9.2-linux-x64/nw
node-webkit-v0.9.2-linux-x64/nw.pak
node-webkit-v0.9.2-linux-x64/libffmpegsumo.so
Done

@logiquefloue

sudo sed -i 's/udev.so.0/udev.so.1/g' ./nw

Thanks, this has worked for me too!

georgy7 avatar Jul 21 '15 02:07 georgy7