rsiewert / Nodes-Talking

a nodejs app sending/receiving to rabbitmq
Apache License 2.0
1 stars 1 forks source link

Nodemon does not work #20

Open rbgodwin opened 9 years ago

rbgodwin commented 9 years ago

With a fresh install of Nodes-Talking nodemon fails with the error:

nodemon server.js /usr/bin/env: node: No such file or directory

when I use "nodejs server" all works as expected

xqjibz commented 9 years ago

@rbgodwin I added that in for the UNIX side, are you on windows? I should take that out of the server to give the ability to run this on windows and on *NIX.

rbgodwin commented 9 years ago

Nope - this is showing up on a linux server. I set it up on Amazon cloud. I'll send you the IP address and ssh key if you want to try it out.

xqjibz commented 9 years ago

@rbgodwin try changing /usr/bin/env to just /bin/sh, remove everything after the first entry, I'm sure I jacked that up at some point. should read: #!/bin/sh, then chmod 755 server.js. Then you can just launch the server.js from forever or something similar.