deeleman / learning-angular2

Code samples repository for the examples provided in "Learning Angular 2", published by Packt Publishing - THE BOOK COVERS UP TO RC.1 and hence is severely OUTDATED. PLEASE REFER TO THE LATEST EDITIONS INSTEAD.
https://www.packtpub.com/web-development/learning-angular-2
108 stars 59 forks source link

error regarding npm install systemjs in book #7

Closed ykoehler closed 8 years ago

ykoehler commented 8 years ago

In the book, it says that system js is added as a development dependencies. Yet the system.js appears to be install with --save and not --save-dev.

We will install SystemJS, flagging it as a development dependency by executing the following command:

$ npm install systemjs –save
deeleman commented 8 years ago

Yep! Actually that is a typo, since systemjs will be required either way to spawn the application in both dev and production runtimes so installing it as a non-development dependency (hence --save) is the way to go.

I am working on an Updates page that will summarize typos, errata and other amends on the book writing which will be published here on GitHub later next week. I'll keep you posted on this same thread once it goes live.

In the meantime thanks for noticing this error and do not hesitate on highlighting more typos or errors when spotted. I'll be more than happy to help or clarify questions, if any. :)