How can I resolve the error "Error: A collection and schematic is required during execution" that I encountered while attempting to generate environments automatically using the ng generate environments command in Angular (version 15.0.5)?
The Angular documentation at https://angular.io/guide/build did not provide a solution to this specific issue, and I am a novice in Angular.
I cannot find solution to this anywhere, I was reading some blogs but still nothing.