@angular/cli: 1.0.0-rc.0
node: 7.5.0
os: win32 x64
@angular/animations: 4.0.0-rc.1
@angular/common: 4.0.0-rc.1
@angular/compiler: 4.0.0-rc.1
@angular/core: 4.0.0-rc.1
@angular/forms: 4.0.0-rc.1
@angular/http: 4.0.0-rc.1
@angular/platform-browser: 4.0.0-rc.1
@angular/platform-browser-dynamic: 4.0.0-rc.1
@angular/platform-server: 4.0.0-rc.1
@angular/router: 4.0.0-rc.1
@angular/cli: 1.0.0-rc.0
@angular/compiler-cli: 4.0.0-rc.1
OS?
Versions.
Repro steps.
run
ng g m my-module- [ will work as expected ]decide that you want a module and routes, so run
ng g m my-module --routingget asked if you want to override the old module, hit
yget sad because the routing file was not created 😢
decide that you want to add a component matching the module name, so run
ng g c my-moduleget sad again because the new component got not added to your new
my-module.module.tsbut to yourapp.module.ts😢be happy again because the Angular CLI is such a timesaver for most parts 😄👍
The log given by the failure.
Mention any other details that might be useful.
Thanks to the team for all the effort ❤️