Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vs Code nx console generate command not working : This command has no flags to set

I'm have nx console extension installed in my Vs Code and upon trying to use the generate command (generate component, service, library etc.) its saying "ng generate @schematics/angular:component This command has no flags to set" . I don't want to write the commands manually since it is time consuming. I have tried uninstalling and reinstalling the extension, closing my VsCode but i still get the same error.

like image 989
Rodney Mupanduki Avatar asked May 08 '26 06:05

Rodney Mupanduki


1 Answers

Solved it.. turns out my nx console had just upgraded itself to a newer and less stable version. To solve this go to your extensions panel on vs code find nx console extension and click on the settings icon at the bottom right. And select Install another version then choose any lesser version then reload your window

like image 176
Rodney Mupanduki Avatar answered May 09 '26 19:05

Rodney Mupanduki



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!