Issue
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.
Solution
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
Answered By - Rodney Mupanduki
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.