I updated my angular project 4 to 5 and everything works fine. But when I execute the ng generate component nameComponent
command it throws me this error
Schematic input does not validate against the Schema: {"path":"/src/app/...","prefix":"app","styleext":["css","scss"],"inlineStyle":false,"inlineTemplate":false,"changeDetection":"
Default","spec":true,"flat":false,"skipImport":false,"export":false,"entryComponent":false}
Errors:
Data path ".styleext" should be string.
However the other commands for example to generate class, services, etc. They work well for me. Why is this happening to me?