I am going through my first node.js project. I\'ve installed mongodb, have a server.js file, and when I try to run it I get this error
module.js:340 thro
I got the same Problem and I solve by these steps.
1.Go to Your Project Dir.(cd your Project Path)
2.Run this command in command shell( install npm)
3.Run your Project (node app.js for example)