The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

stlcubsfan (6) [Avatar] Offline
#1
All in all a good introductory chapter! Couple of things I noticed:

Page 22 - Minor Spacing Issues
Downloading and installing Electron is easy. Run the following command from inside the project directory where you ran npminit previously.
npm install electron–-save-dev

npminit should be npm init
space missing between electron and --save-dev


Listing 2.37 Completed application (app/renderer.js)
Doesn't utilize the validateResponse function at the top of the promise chaining that was added in a previous listing
  fetch(url)
    .then(response => response.text())
    .then(parseResponse)
    .then(findTitle)
    .then(title => storeLink(title, url))
    .then(clearForm)
    .then(renderLinks)
    .catch(error => handleError(error, url))
});

Steve Kinney (33) [Avatar] Offline
#2
Thanks!