Susan Harkins (407) [Avatar] Offline
Please list errors in the published version of Express in Action here. We'll compile and publish a comprehensive list for everyone's convenience. Thank you!

Susan Harkins
Errata Editor
Manning Publications
386460 (2) [Avatar] Offline
You may have caught this but bottom p1 top p2 there is duplication

'People want to make web applications with Node.js, but the
“vanilla” Node.js APIs can be verbose, confusing, and limited in features. Developers often
have to write a lot of boilerplate code'

Looks like one of those paragraphs is a rewrite
382425 (1) [Avatar] Offline
Pages 46 (Listing 3.20) and 47 (Listing 3.23) have an error. On page 46 an array named "entries" is formed with each object in the array having title, content, and published properties. On page 47 the sample code does a forEach loop on the array and accesses the published, title, and body properties. "Content" and "body" don't match, so it's unable to find the data stored in the array.

This error is found in both the print and pdf copy.
Adel (2) [Avatar] Offline
On page 133, Listing 8.15 :

Following the code example leads to this error : Unknown authentication strategy "login"

And this warning : DeprecationWarning: Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead:
465147 (1) [Avatar] Offline
Page 60-61, Listing 4.5

The code example uses fs.stat inside a middleware function.

fs.stat (filePath, function(err, fileInfo) { 
 // ...

however, the following paragraph describing the middleware function refers to 'fs.exists' which is now deprecated.

Next, you call fs.exists, which takes two arguements.

(p61, ln9)
479745 (1) [Avatar] Offline

Renders the “new entry”
page (at views/index.ejs)
when GETting the URL

should be

Renders the “new entry”
page (at views/new-entry.ejs)
when GETting the URL
377465 (1) [Avatar] Offline
Listing 3.23. index.ejs

<div class="panel-body">
        <%= entry.body %>

should be

<div class="panel-body">
        <%= entry.content %>
Susan Harkins (407) [Avatar] Offline
An updated errata list for Express in Action is available at Most of the items have been corrected in all versions; uncorrected items are noted. Thank you for participating in the collection process. Your contributions are a great help to us and other readers.

Susan Harkins
Errata Editor