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.

515591 (1) [Avatar] Offline
On PDF page 26, the book directs us to add "a new shipping component instructing Angular CLI to include it into the ShippingModule."


Here's a snap shot of what I did.


After invoking (red #1) per book:

ng generate component shipping --module shipping.module

I get an error message (red #2) that says the module "shipping.module" does not exist.

I believe the code example should include the folder "shipping" in which the "shipping.module" is located.

When I revise the book code to include the "shipping" folder (red #3):

ng generate component shipping --module shipping/shipping.module

the component is created (red #4).