# 🐞 Bug report ### Command (mark with an `x`) <!-- Can you pin-point the command or commands that are effected by this bug? --> <!-- ✍️edit: --> - [ ] new - [ ] build - [ ] serve - [ ] test - [ ] e2e - [x] generate - [ ] add - [ ] update - [ ] lint - [ ] extract-i18n - [ ] run - [ ] config - [ ] help - [ ] version - [ ] doc ### Is this a regression? No, it's is duplicate of https://github.com/angular/angular-cli/issues/15014 ### Description  ## 🔬 Minimal Reproduction Repo example: https://github.com/kvart714/ng-g-c-bug It includes custom schematic. Command `ng g c` works in project folder, but not works in nested folders due to relative path.