Skip to content

Latest commit

 

History

History
28 lines (14 loc) · 908 Bytes

File metadata and controls

28 lines (14 loc) · 908 Bytes

Errata for Pro Angular, 5th Edition

This file contains errors that are likely to prevent the code examples from working as described in ths book. See this file for small mistakes that I intend to correct in the next edition.


Chapter 3

On Page 44, the command shown in Listing 3-3 is incorrect. It should be:

ng config projects.Primer.architect.build.options.styles '[""src/styles.css"", ""node_modules/bootstrap/dist/css/bootstrap.min.css""]'

(Thanks to Chris Kiihne for reporting this problem)


Chaper 8

On page 196, the command shown in Listing 8-1 produces the following error when installing the PWA package:

An unhandled exception occurred: Cannot find module '@schematics/angular/utility'

To avoid this problem, use this command, which specifies a package version:

ng add @angular/pwa@13.0.3

(Thanks to Bill Longabaugh for reporting this problem)