{"issue":{"created_at":"2011-11-18T15:36:36Z","state":"open","updated_at":"2011-11-18T15:36:36Z","user":{"gravatar_id":"4bc93742d5efe4149cb0a0d4f91732c9","id":28243,"url":"https://api.github.com/users/fredreichbier","login":"fredreichbier","avatar_url":"https://secure.gravatar.com/avatar/4bc93742d5efe4149cb0a0d4f91732c9?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"body":"Hi again! :)\r\n\r\nLooking into the node-config tests, I noticed that `npm test` doesn't work for me. I'm running node.js 0.6.1and get an error like this:\r\n<pre>% npm test          \r\n\r\n> config@0.4.5 test /home/fred/dev/node-config\r\n> ./node_modules/vows/bin/vows test/*.js --spec\r\n\r\n\r\nnode.js:201\r\n        throw e; // process.nextTick error, or 'error' event on first tick\r\n              ^\r\nError: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.\r\n    at Function.<anonymous> (module.js:376:11)\r\n    at Object.<anonymous> (/home/fred/dev/node-config/node_modules/vows/bin/vows:37:8)\r\n    at Module._compile (module.js:432:26)\r\n    at Object..js (module.js:450:10)\r\n    at Module.load (module.js:351:31)\r\n    at Function._load (module.js:310:12)\r\n    at Array.0 (module.js:470:10)\r\n    at EventEmitter._tickCallback (node.js:192:40)\r\nnpm ERR! config@0.4.5 test: `./node_modules/vows/bin/vows test/*.js --spec`\r\nnpm ERR! `sh \"-c\" \"./node_modules/vows/bin/vows test/*.js --spec\"` failed with 1\r\nnpm ERR! \r\nnpm ERR! Failed at the config@0.4.5 test script.\r\nnpm ERR! This is most likely a problem with the config package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     ./node_modules/vows/bin/vows test/*.js --spec\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls config\r\nnpm ERR! There is likely additional logging output above.\r\nnpm ERR! \r\nnpm ERR! System Linux 3.1.1-1-ARCH\r\nnpm ERR! command \"node\" \"/usr/bin/npm\" \"test\"\r\nnpm ERR! cwd /home/fred/dev/node-config\r\nnpm ERR! node -v v0.6.1\r\nnpm ERR! npm -v 1.0.104\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /home/fred/dev/node-config/npm-debug.log\r\nnpm not ok\r\n</pre>\r\n\r\nThe vows version in `node_modules` seems to be 0.5.8, which [seems to cause these problems](https://github.com/cloudhead/vows/pull/103). I just `rm -rf`ed `node_modules` and did `npm install`, everything works then. :)","assignee":null,"id":2281238,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":7,"labels":[],"title":"Outdated vows in node_modules","closed_at":null,"html_url":"https://github.com/lorenwest/node-config/issues/7","milestone":null,"url":"https://api.github.com/repos/lorenwest/node-config/issues/7"},"action":"opened"}