logdna / logdna-cli

The LogDNA CLI allows you to signup for a new account and tail your server logs right from the command line.
https://logdna.com
MIT License
27 stars 21 forks source link

grunt linux is trying to use nexe #6

Closed dpnova closed 7 years ago

dpnova commented 7 years ago

Installed and run like this:

git clone git@github.com:logdna/logdna-cli.git
cd logdna-cli
npm install
sudo npm install -g grunt
grunt linux

Output from grunt linux

 INSERT  dpn  ~  workspace  logdna-cli  grunt linux                                                                                                             3   master 
Running "lineremover:nukebrowser" (lineremover) task
✔ node_modules/ws/package.json (removed 0 lines)

Running "exec:nexe" (exec) task
>> /bin/sh: nexe: command not found
>> Exited with code: 127.
Warning: Task "exec:nexe" failed. Use --force to continue.

Aborted due to warnings.
leeliu commented 7 years ago

Yup, that is what should happen. The command basically builds a Linux binary and packages it as a rpm/deb. Were you looking to do something else?

dpnova commented 7 years ago

The readme says nexe is only needed for Windows.

Is it possible to run the cli without building anything? I'm on gentoo.. Seems like it should just run as a script?

Am 16.11.2016 4:24 nachm. schrieb "Lee Liu" notifications@github.com:

Yup, that is what should happen. The command basically builds a Linux binary and packages it as a rpm/deb. Were you looking to do something else?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/logdna/logdna-cli/issues/6#issuecomment-260864571, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOCN0w-gvoS-4lTG-ETS0z-5I9286cfks5q-qGYgaJpZM4KzPtJ .

leeliu commented 7 years ago

Oh! Thanks for pointing that out. It's definitely needed for both. We'll fix that.

You can just run node index in the folder. We do have a prebuilt Linux binary at http://repo.logdna.com/linux/logdna.gz though I'm not entirely sure if it'll run on gentoo.