as3boyan / node-webkit-haxelib

Haxelib which downloads node-webkit binary for your platform and makes it accessible via `haxelib run node-webkit path/to/index.html`
MIT License
24 stars 3 forks source link

haxelib run HIDE, nothing happens #4

Open logiquefloue opened 9 years ago

logiquefloue commented 9 years ago

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 commented 9 years ago

On Linux Mint

as3boyan commented 9 years ago

Do you using 32-bit version of Linux Mint?

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

logiquefloue commented 9 years ago

32 bit yes

logiquefloue commented 9 years ago

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 commented 9 years ago

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.

as3boyan commented 9 years ago

haxeparser, hxparse and CodeMirror

Don't forget to clone recursively to init submodules

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

as3boyan commented 9 years ago

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

logiquefloue commented 9 years ago

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

logiquefloue commented 9 years ago

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!!

as3boyan commented 9 years ago

Thank you. Sorry for inconvenience.

logiquefloue commented 9 years ago

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

2014-08-21 17:45 GMT+01:00 as3boyan notifications@github.com:

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 .

georgy7 commented 9 years ago

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!