-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
When running now ng g m test --routing
it's only generating a module file and a routing file. First it was also generating the component.
When running after this command ng g c test
it generates the component but is registering it in the appModule instead of the testModule?
What happend? Before this it seems to worked better, already readed the documentation in the folder documentation
.
Please provide us with the following information:
OS?
Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 10
Versions.
Please run
ng --version
. If there's nothing outputted, please run in a Terminal:node --version
and paste the result here:
RC1
Repro steps.
Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
The log given by the failure.
Normally this include a stack trace and some more information.
Mention any other details that might be useful.
Thanks! We'll be in touch soon.