Closed kaji-bikash closed 9 years ago
I'm having the same problem when using Nodejs v0.11.14. After downgrading to v0.11.2, the error now is:
Error: Module not found: application
at Object.loader.load (/opt/ansijet/node_modules/waigo/src/loader.js:283:11)
at /opt/ansijet/start-app.js:30:15
at GeneratorFunctionPrototype.next (native)
at next (/opt/ansijet/node_modules/co/index.js:83:21)
at /opt/ansijet/node_modules/co/index.js:102:18
at processImmediate [as _immediateCallback] (timers.js:317:15)
Will look at this tomorrow.
So far I'm not seeing any problems with Node 0.11.13, but that's on OS X. Am investigating Ubuntu 11.04x64 now.
I hope it's going to be much more useful it you are to test it with LTS releases preferably Ubuntu 14.04 Trusty
Sorry, meant to say 14.04x64
I'm pretty sure that error means that the ansible-playbook
binary cannot be found.
I didn't realise that which xxx
returns a non-zero error code if the executable can't be found. I'm coding in a better error message now. I'm also going to upgrade to the latest release of waigo-mongo
which supports authentication.
Ok, now have ansijet up and running on Ubuntu 14.04x64 with Node 0.11.13. So I think this bug was definitely caused by a lack of an ansible-playbook
binary. Follow the instructions at http://docs.ansible.com/intro_installation.html#latest-releases-via-apt-ubuntu to get that sorted out.
System: Ubuntu 14.04 NodeJS v0.11.14
NODE_ENV=production ./start-app.js
emitsError: