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

Viewed 1323

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.

3 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

The latest version has a problem. Install a previous one - 17.13.7, it works

enter image description here

version 17.14.0 of extension nx-console has problem. Just install another and wait for new fix

Related