Skip to content

Troubleshooting FAQ

quartzjer edited this page Dec 21, 2011 · 3 revisions
Clone this wiki locally

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 or 0.6 (we're waiting on some modules before we can move to 0.6), go back to the 0.4.x branch.

Trouble installing npm? You need node installed first!

I don't see enough logging?

Add "logging": { "level": "silly", "console": true} to your config.json file for more output.

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.
Something went wrong with that request. Please try again.