get-programming-with-nodejs icon indicating copy to clipboard operation
get-programming-with-nodejs copied to clipboard

Code samples for Get Programming with Node.js (See verhagen's VM setup for exercises in this book: https://github.com/verhagen/get-programming-with-nodejs)

Results get-programming-with-nodejs issues
Sort by recently updated
recently updated
newest added

If you _sign up_ with an email with a dot (eg [email protected]), the dot is removed in `usersController.validate` before being saved to the database. If you later try to _log...

solve this Error=> Error: Failed to lookup view "index" in views directory should set path "views" on your project: add this code for solve: `app.set("views",__dirname+'\name you directory');`

add this code to project for read static files `app.use(express.static(__dirname+'/public'));`

Any suggestions? Trying to work through the lessons, but keep getting this console error that wastes 1.5 hours per lesson. Am 99% certain it comes from Express. Don't know what...

>NOTICE: As of 3/25/2024, the following packages have been upgraded: ``` MongoDB --> 7.0.7, Node.js Driver --> 6.5.0, and node.js language version --> V.20.10.1 ``` To solve the compatibility issues...

According to the MongoDB/Mongoose docs, the usage of callback functions has been deprecated in Mongoose 7. x. Therefore, the sample code needs to be updated to comply with the changes...