Trying to generate a new component in one of my modules.
I navigate to [project]/src/app
and enter
ng g c admin/list
where admin
is the existing module and list
is the name of the new component I want to generate.
Result:
Cannot read property '0' of null
It seems to work with every other module. Must be something in my @ngModule but I can't see anything.