Results 1 to 7 of 7
Thread: Ch 5, module.js:340 throw err;
May 17, 2013, 12:24 #1
- Join Date
- May 2013
- 0 Post(s)
- 0 Thread(s)
Ch 5, module.js:340 throw err;
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?
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)