I'm trying to install angular but I cant get my pc to find the ng command. I have tried aliassing, changing the path variable, uninstalling the angular package, updating node and npm.
I think it's a path problem but I'm not too familiar with this.
In the node.js terminal:
C:\Users\Calvin Swinnen>where ng
C:\Program Files\Git\usr\local\node_modules\@angular\cli\bin\ng
In the VSCode integrated terminal:
Calvin Swinnen@DESKTOP-UJODPIS MINGW64 ~/Documents/vakken/web 4/test
$ ng
bash: ng: command not found
Calvin Swinnen@DESKTOP-UJODPIS MINGW64 ~/Documents/vakken/web 4/test
$ npm list -g --depth=0
C:\Program Files\Git\usr\local
+-- @angular/[email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]
npm ERR! missing: opn@~5.3.0, required by @angular/[email protected]
npm ERR! missing: yargs-parser@^10.0.0, required by @angular/[email protected]
[
npm install -g @angular/cliHere's the link to github of angular-cli