robertklep / nefit-easy-http-server

HTTP server to access Nefit/Bosch XMPP backend over HTTP
MIT License
38 stars 15 forks source link

Nothing happening #3

Closed pcdiks closed 8 years ago

pcdiks commented 8 years ago

I installed the software on Ubuntu 14.04 with the following command: npm -i nefit-easy-http-server -g

The installation works well, no errors.

When I try to start the application easy-server, nothing happens. Also trying easy-server -h does nothing.

Any ideas what could be wrong?

robertklep commented 8 years ago

What does node -v say? Installing Node.js on Ubuntu/Debian can often result in the Node executable being called nodejs, not node, which could prevent the script from starting properly.

pcdiks commented 8 years ago

node -v shows no output. which node shows /usr/sbin/node and is a symlink to /usr/sbin/ax25-node

which nodejs shows /usr/bin/nodejs /usr/bin/nodejs -v shows version v0.10.25

robertklep commented 8 years ago

Okay, so there's two issues here:

You should uninstall the ax25-node package (unless you're actually using it; it might be called node, not sure), and follow the instructions here to install the latest Node v4, and perhaps also (afterwards) install the nodejs-legacy package to install the proper symlink from node to nodejs.

pcdiks commented 8 years ago

Ok, that solved my problem. Thanks