command-line text:
C:\Users\User\Desktop>npm install -g @angular/cli
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported
C:\Users\User\AppData\Roaming\npm\ng -> C:\Users\User\AppData\Roaming\npm\node_modules\@angular\cli\bin\ng
@angular/[email protected] postinstall C:\Users\User\AppData\Roaming\npm\node_modules\@angular\cli
node ./bin/postinstall/script.js
@angular/[email protected]
added 276 packages from 206 contributors in 333.421s
C:\Users\User\Desktop>ng new contacts
'ng' is not recognized as an internal or external command,
operable program or batch file.
Already tried:
- Added angular to path variables.
- manually delete npm directory in AppData/Roaming
- npm clean cache --force