small medium large xlarge

The latest version of the book is P1.0, released 8 months ago. If you've bought a PDF of the book and would like to update it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (25-Feb-18)
#82826
PDF page: n/a
Paper page: n/a
My dear shattered Fire Kindle has no page numbers, but makes up it's own 'Location 2701'. For those intrepid souls that type all the sample code the...more...
  • Reported in: P1.0 (07-Feb-18)
#82757
PDF page: 5
In the last paragraph of the page, second sentence: Platforms for protyping the Internet of Things... Should be prototyping I'd think.--Hong Zha...more...
  • Reported in: B5.0 (23-Dec-17)
  • Fixed: 14-Feb-18, awaiting book release
#82402
PDF page: 8

On "Programming for the Node.js Event Loop",
Example of command:
$ echo, > target.txt

Expected as:
$ echo > target.txt--sshida

Jim R. Wilson says: Hi sshida, The comma after echo in 'echo,' was intentional, I know it looks weird. Putting a punctuation mark after echo in Windows creates a file with a single empty line (or so I understand).
  • Reported in: P1.0 (23-Jan-18)
  • Fixed: 14-Feb-18, awaiting book release
#82543
PDF page: 18
As copied from the page, the last line of the code example watcher-spawn-parse.js gives me an error on the extra paren: ); "Unexpected token )". f...more...
Jim R. Wilson says: In the code pasted here, some spaces are missing. For example 'const ls' shows up as 'constls'. It's common for pasted text from PDFs to omit important whitespace, so you may have better luck by following along with the code downloads that accompany the book. Thanks!
  • Reported in: P1.0 (05-Jan-18)
#82443
PDF page: 29
Paper page: 30
In Version 8.9.3 of node and the net library there will be a hard error if you do not use an on('error') clause. So changing to connection.on('...more...
  • Reported in: P1.0 (28-May-18)
#83159
Paper page: 32

$ nc -U /tmp/watcher.sock

my netcat (Debian 8) don't support a '-U' option--Grigory

  • Reported in: B5.0 (23-Dec-17)
#82403
PDF page: 33
On the last line: "... and save its text content to the book.text property." Should be: "... nd save its text content to the book.title property...more...
  • Reported in: P1.0 (08-Apr-18)
#82973
PDF page: 34

The correct command is "$ nc -U /tmp/watcher.sock" not "$ nc localhost 60300".--victor hazbun

  • Reported in: P1.0 (25-Feb-18)
#82827
PDF page: 50
In Testability, the first question is asking to add a test that split message over two (or more) data events from the stream. However, that's exactly ...more...
  • Reported in: P1.0 (25-Feb-18)
#82821
Paper page: 74

On the figure the top heavy arrow should point towards worker processes and not master process

  • Reported in: P1.0 (07-Jan-18)
#82462
Paper page: 78
Missing code example for "Bidirectional Messaging" within downloadable code. On page 78 it was mentioned that an example could be find within the dow...more...
  • Reported in: P1.0 (30-May-18)
#83183
Paper page: 82

www.gutenberg.org/cache/epub/feeds/rdf-files.tar.bz2

is blocked for german IP--Grigory

  • Reported in: P1.0 (20-Jul-18)
#83387
PDF page: 83
In the section asking the reader to download the data via the command: "curl -O link/to/rdf-files.tar.bz2", it will not work because it points to a re...more...
  • Reported in: P1.0 (25-May-18)
#83143
PDF page: 87

Missing parentheses }); at the end of parse-rdf-test.js.

  • Reported in: P1.0 (01-Aug-18)
#83437
PDF page: 95
After code example it refers to book.title as book.text. I denote the error below in its context and before the [sic]. Relevant section > database...more...
  • Reported in: P1.0 (07-Mar-18)
#82877
Paper page: 98
In the first paragraph, second line, it says: ... with the CSS selector [rdf\:resource$="LCSH"] . ... ==> there is a missing "\", just as you ca...more...
  • Reported in: B5.0 (21-Dec-17)
#82395
PDF page: 98

"Here, instead of finding each subject’s <rdf:value> living it its own <dcterms:subject>
tag..."

The word "it" should be "in" here.--Hafiz Aina

  • Reported in: P1.0 (19-Jan-18)
#82526
PDF page: 100
Paper page: 87

The code example doesn't have closing braces and parenthesis.--Jeff Maher

  • Reported in: P1.0 (25-Feb-18)
#82828
PDF page: 102

Comment in the source file

// Match file names that in '.rdf'.

should probably read

// Match file names that END in '.rdf'.--Victor Kryukov

  • Reported in: P1.0 (11-Mar-18)
#82899
PDF page: 128

You are explaining jq function 'keys' again here - you already explained what it does on the previous page.--Victor Kryukov

  • Reported in: P1.0 (02-Mar-18)
#82846
Paper page: 130
In the code to do a bulk index you pass in the type arg on the command line but do not use it. Full URL should be: url: fullUrl(`${program.type}...more...
  • Reported in: B4.0 (15-Nov-17)
#82260
PDF page: 171
It appears that I am having issues with "express": "4.14.1"and the app.post, create bundle example having url parameters. If I change the app.post to ...more...
  • Reported in: P1.0 (29-Apr-18)
#83049
Paper page: 178
In the code example at the bottom of the page the await keyword is missing in front of the function calls. Currently, the API response is not awaiting...more...
  • Reported in: P1.0 (27-Mar-18)
#82947
PDF page: 195

the html on first line 'fade in' should be 'fade-in'.
--max123

  • Reported in: P1.0 (30-Mar-18)
#82955
PDF page: 239

Seems like when Authenticating with Facebook, http is not allowed. its suggests to try via https.--max123