Skip to content

Troubleshooting FAQ

jasonrudolph edited this page Jul 31, 2011 · 3 revisions

If you have an issue that is coming up commonly on IRC or other locations please add it and get someone to fill in the answer once it's found.


getAgent Error

I'm seeing an error like:

TypeError: Invalid argument to getAgent
    at Object.getAgent (http.js:1446:11)
    at _getAgent (/home/user/Code/Locker/node_modules/http-proxy/lib/node-http-proxy.js:48:30)
    ...
    ...

You probably installed a development version of node 0.5, go back to the 0.4.x branch.


Trouble installing npm? You need node installed first!


Where did all of my services go?

A recent change hides unstable and developing services by default. You can toggle this by setting the displayUnstable value to true in your config.json file.


execvp error when running tests

When I run node runTests.js, I'm seeing an error like:

execvp(): No such file or directory

You probably don't have vows in your PATH. You have a couple options:

  1. Run npm install -g vows and vows will end up somewhere on your PATH. Or ...
  2. Find vows and add it to your path. Depending on how npm was configured and invoked, it could be in a number of places (e.g., ~/bin, Locker/node_modules/vows/bin, etc.). Find vows, and update your PATH to include the directory with vows in it.

Clone this wiki locally