-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @schematics/angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
Milestone
Description
Bug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Command (mark with an x
)
- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [x] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Versions
Node,js 8.11.4
npm 5.6.0
Angular: 7.0.3
Repro steps
- Generate new project ("Tour of Heroes: for example);
- Remove leading whitespaces in AppModule declaretions:
- Try add any component: "ng g c foobar"
The log given by the failure
Console throw an error:
"Cannot read property '0' of null"
Desired functionality
No error;
Mention any other details that might be useful
It is easy reproduce for any Angular ClL Project. Like Quickstart example:
https://angular.io/guide/quickstart
DmitriyIvanko
Metadata
Metadata
Assignees
Labels
area: @schematics/angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix