Replies: 8 comments
-
This is working as intended: Note that the global installation is just to have direct access to the I'll look later if it is relevant to add back direct use of local CLI. |
Beta Was this translation helpful? Give feedback.
-
So, there is already history about this. In a previous version, I introduced the use of the local CLI directly ( That is why I reverted and got back to the usage of the global CLI ( However, before v4, Node But v4 introduced other features that makes such a feature less trivial to reimplement now: advanced workspaces are now supported (for example, So I think it is not worth it. Again:
Do you see a use case where installing the CLI globally is an issue? If not, I will close this issue as working as intended. Someone can still do a Pull Request, but it should:
|
Beta Was this translation helpful? Give feedback.
-
Closing this issue for house-keeping as there is no news. Feel free to answer and I will open it back. |
Beta Was this translation helpful? Give feedback.
-
Hey guys! I also would like to have local |
Beta Was this translation helpful? Give feedback.
-
Unfortunately it is not that easy:
|
Beta Was this translation helpful? Give feedback.
-
I'll reopen this issue, but this feature needs a solution working with all configurations to be implemented. |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
Hi @merkuriy, @DDeis, @ElodieC, @trubachoff and @starikovs, just to let you know the latest version (v6) of the extension is not longer tied to the Angular CLI, so generation will work even without the Angular CLI installed globally. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checks before posting an issue
RESULTS
ng g component hello
in the VS Code Terminal inside my project, and it worksConfiguration
ng version
): not installedDescription of the issue
AngularSchematics launch the global Angular CLI, not the local.
Related issues: #26
How to reproduce the issue
AngularSchematics run:
ng g service shared/services/menu
Result:
Command 'ng' not found, but can be installed with: sudo apt install ng-common
Angular CLI Local is normal working:
Beta Was this translation helpful? Give feedback.
All reactions