small medium large xlarge

Errata for Automate with Grunt

 

The latest version of the book is P2.0, released almost 2 years ago. If you've bought a PDF of the book and would like to upgrade 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 (24-Aug-16)
#80653
PDF page: 6
When I try to run the command grunt addNumbers:1:2 I get a message saying that grunt cannot find the task. See code below. module.exports = functi...more...
  • Reported in: P2.0 (18-Nov-14)
#77809
PDF page: 27-28
"We can access the targets as an array. We iterate over the targets and grab the sources... On line 3 we iterate over the various targets. In a multit...more...
  • Reported in: P1.0 (13-Oct-14)
  • Fixed: 23-Apr-15, awaiting book release
#77638
Paper page: 46
It seems that the `preprocess` lifecycle event doesn't exist by default. Probably the API has changed and/or the author meant to use the `prepublish` ...more...
  • Reported in: P2.0 (25-Nov-14)
  • Fixed: 23-Apr-15, awaiting book release
#77839
PDF page: 48
"Grunt comes with grunt.util.spawn(), which is perfect for this." But then spawn() isn't used in the code that follows... exec() is used.--Mark Rajco...more...
  • Reported in: P2.0 (25-Nov-14)
  • Fixed: 23-Apr-15, awaiting book release
#77841
PDF page: 49
"With the Revealing Module Pattern we define a function that returns a JavaScript object that we create. This allows us to have both public and privat...more...
  • Reported in: P2.0 (25-Nov-14)
  • Fixed: 23-Apr-15, awaiting book release
#77842
PDF page: 49
"With the Revealing Module Pattern we define a function that returns a JavaScript object that we create. This allows us to have both public and privat...more...
  • Reported in: P2.0 (25-Nov-14)
  • Fixed: 23-Apr-15, awaiting book release
#77840
PDF page: 52

"So, create Gruntfile.js as the package.json file:"--Mark Rajcok

  • Reported in: P2.0 (18-Jul-15)
#78643
PDF page: 89

loadNpmModule should read loadNpmTask.--Ali H