For some reason since upgrading from Angular 13 to Angular 15, when I type:
ng g c SomeComponent
Angular duplicates the component, creating duplicate files. This happens 100% of the time. A second weird thing (not sure if it's related), but it does not add ngOnInit() to the components either.

-
Hi @David, im working with angular15 but no problem on creating new componentsFarouk Mhamdi– Farouk Mhamdi2023-02-01 15:39:12 +00:00Commented Feb 1, 2023 at 15:39
-
Has anyone found a solution to this? I am working with Angular 16 and recently ran into this problem as well. It also does the same thing when trying to generate services for me.Drummerman921– Drummerman9212024-01-10 03:11:26 +00:00Commented Jan 10, 2024 at 3:11
Add a comment
|