Since starting to work with socket.io, I am getting this error below. I have been scouring the internet and I have found some fixes that didn't work. Such as clearing cache and reinstalling all the modules. I also tried installing socket.io globally. Still isn't working. I have copied the code exactly (this time!) from the book and doubled checked everything, so I assume the problem is possibly with a local setting. Any suggestions of where to look?

module.js:340
throw err;
^
Error: Cannot find module '/Users/dj/Portfolio/nmarket/nmarket'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3