@schematics/angular error: addProviderToModule error when using interceptor #13080
Labels
area: @schematics/angular
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
npm 6.4.1,
Angular CLI: 7.1.0
Node: 10.13.0
OS: darwin x64
Repro steps
My schematics index.ts file:
Target Module:
The log given by the failure
After running
ng g schematics:es core/event-source
which depends on my project. The target module file will be rerendered as follow:Desired functionality
Desired target module file is:
Mention any other details that might be useful
I will give a pull request soon to fix that problem, please check and feedback to me.
The text was updated successfully, but these errors were encountered: