jdx / mean-sample

Sample project for Write Modern Web Apps with the MEAN Stack by Jeff Dickey
https://mean-sample.herokuapp.com
166 stars 90 forks source link

Error: Cannot find module 'body-parser' - Chap 4 #51

Closed InkSlob closed 8 years ago

InkSlob commented 8 years ago

This may have been covered in the book. I followed through it sequentially and may have missed it. I tried to run $ node server.js and kept getting the error

Error: Cannot find module 'body-parser'.
I forgot to install body-parser. You can install as shown below.

npm install body-parser

Great book thanks Jeff!!!

InkSlob commented 8 years ago

This was in the book. The issue was I don't have a few other npm modules installed to make it work. I had to install about 5 others.