Hey! I'm attending Coding Dojo at the DC Campus. THANK YOU for posting this demo!! it's extremely helpful as I'm trying to understand MEAN.
Around minute 33 in the video you run into an error on the UserSchema.pre function on the user.js page. The issue stems from the fact that the "(next) =>" function cannot accept "this". Even on the web page you referenced, they used the next function by typing it as "function(next)." I put that into my code and it worked well for me.
I hope this comment helps! Keep up the great work :)
Hey! I'm attending Coding Dojo at the DC Campus. THANK YOU for posting this demo!! it's extremely helpful as I'm trying to understand MEAN.
Around minute 33 in the video you run into an error on the UserSchema.pre function on the user.js page. The issue stems from the fact that the "(next) =>" function cannot accept "this". Even on the web page you referenced, they used the next function by typing it as "function(next)." I put that into my code and it worked well for me.
I hope this comment helps! Keep up the great work :)