{"issue":{"state":"closed","created_at":"2011-11-21T07:09:53Z","updated_at":"2011-11-22T16:18:26Z","comments":3,"user":{"gravatar_id":"ec25d046746de3be33779256f6957d8f","id":71928,"url":"https://api.github.com/users/groovecoder","login":"groovecoder","avatar_url":"https://secure.gravatar.com/avatar/ec25d046746de3be33779256f6957d8f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I tried doing npm install && npm start and got this:\r\n\r\n> project_doc@0.0.0 start /Users/lcrouch/code/Project-Doc\r\n> coffee -o lib/ -cw libsrc/ & nodemon lib/server.js\r\n\r\n21 Nov 01:07:38 - [nodemon] v0.5.7\r\n21 Nov 01:07:38 - [nodemon] watching: /Users/lcrouch/code/Project-Doc\r\n21 Nov 01:07:38 - [nodemon] running server.js\r\n21 Nov 01:07:38 - [nodemon] starting node\r\n21 Nov 01:07:38 - [nodemon] reading ignore list\r\n\r\n/Users/lcrouch/code/Project-Doc/node_modules/coffee-script/lib/coffee-script/command.js:201\r\n      return fs.watch(source, function(event) {\r\n                ^\r\nTypeError: Object #<Object> has no method 'watch'\r\n    at /Users/lcrouch/code/Project-Doc/node_modules/coffee-script/lib/coffee-script/command.js:201:17\r\n\r\n\r\nnode.js:134\r\n\r\n        throw e; // process.nextTick error, or 'error' event on first tick\r\n\r\n        \r\n^\r\n\r\nError: Cannot find module 'socket.io'\r\n    at Function._resolveFilename (module.js:322:11)\r\n    at Function._load (module.js:267:25)\r\n    at require (module.js:351:19)\r\n    at Object.<anonymous> (/Users/lcrouch/code/Project-Doc/lib/steps.js:7:8)\r\n    at Object.<anonymous> (/Users/lcrouch/code/Project-Doc/lib/steps.js:154:4)\r\n    at Module._compile (module.js:407:26)\r\n    at Object..js (module.js:413:10)\r\n    at Module.load (module.js:339:31)\r\n    at Function._load (module.js:298:12)\r\n    at require (module.js:351:19)\r\n\r\n21 Nov 01:07:39 - [nodemon] app crashed - waiting for file change before starting...\r\n\r\n\r\n\r\nThen I tried to install socket.io by adding it to package.json (even though it should be included with skull.io?), but I still got an error:\r\n\r\ngroovetop:Project-Doc lcrouch$ npm install\r\nsocket.io@0.8.7 ./node_modules/socket.io \r\n├── policyfile@0.0.4\r\n├── redis@0.6.7\r\n└── socket.io-client@0.8.7\r\ngroovetop:Project-Doc lcrouch$ npm start\r\n\r\n> project_doc@0.0.0 start /Users/lcrouch/code/Project-Doc\r\n> coffee -o lib/ -cw libsrc/ & nodemon lib/server.js\r\n\r\n21 Nov 01:09:21 - [nodemon] v0.5.7\r\n21 Nov 01:09:21 - [nodemon] watching: /Users/lcrouch/code/Project-Doc\r\n21 Nov 01:09:21 - [nodemon] running server.js\r\n21 Nov 01:09:21 - [nodemon] starting node\r\n21 Nov 01:09:21 - [nodemon] reading ignore list\r\n\r\n/Users/lcrouch/code/Project-Doc/node_modules/coffee-script/lib/coffee-script/command.js:201\r\n      return fs.watch(source, function(event) {\r\n                ^\r\nTypeError: Object #<Object> has no method 'watch'\r\n    at /Users/lcrouch/code/Project-Doc/node_modules/coffee-script/lib/coffee-script/command.js:201:17\r\n   info  - socket.io started\r\nModel /steps added\r\nModel /mySettings added\r\n\r\n{ stack: [Getter/Setter],\r\n  arguments: [ 'port', undefined ],\r\n  type: 'non_object_property_load',\r\n  message: [Getter/Setter] }\r\n\r\nTypeError: Cannot read property 'port' of undefined\r\n    at Object.<anonymous> (/Users/lcrouch/code/Project-Doc/lib/server.js:80:47)\r\n    at Object.<anonymous> (/Users/lcrouch/code/Project-Doc/lib/server.js:84:4)\r\n    at Module._compile (module.js:407:26)\r\n    at Object..js (module.js:413:10)\r\n    at Module.load (module.js:339:31)\r\n    at Function._load (module.js:298:12)\r\n    at Array.<anonymous> (module.js:426:10)\r\n    at EventEmitter._tickCallback (node.js:126:26)\r\n21 Nov 01:09:22 - [nodemon] app crashed - waiting for file change before starting...","assignee":null,"id":2302094,"labels":[{"name":"bug","color":"e10c02","url":"https://api.github.com/repos/tulsawebdevs/Project-Doc/labels/bug"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":3,"title":"setup errors","html_url":"https://github.com/tulsawebdevs/Project-Doc/issues/3","closed_at":"2011-11-22T16:18:26Z","url":"https://api.github.com/repos/tulsawebdevs/Project-Doc/issues/3","milestone":null},"action":"closed"}