Home > Back-end >  Vs Code nx console generate command not working : This command has no flags to set
Vs Code nx console generate command not working : This command has no flags to set

Time:02-07

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.

CodePudding user response:

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

CodePudding user response:

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

  •  Tags:  
  • Related