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

image

Here's a snap shot of what I did.

image


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).