Dapost / angular-generator-vscode

VSCode Extension for generating entities such as component, module or service by click on context-menu
https://marketplace.visualstudio.com/items?itemName=DavidePostiglione.angular-generate-vscode
1 stars 0 forks source link

Wrong path for the component #2

Open yardim opened 3 weeks ago

yardim commented 3 weeks ago

When I am clicking "generate component" from the context menu it runs the terminal which throws an error:

image

The thing is that for Windows users the root of the project should not start from the slash /. Than it will work correctly.

ng generate component components/test

// instead of

ng generate component /components/test

Would be nice to have a possibility to setup a basic path of the project in the settings of the extension.

yardim commented 3 weeks ago

The problem was in bash terminal