Posts

Showing posts from July, 2017

angular compiler cli package was not properly installed

Image
Problem :

The "@angular/compiler-cli" package was not properly installed
I was trying lot of solutions to setup angular cli in my laptop , but i could not make it so song time ,Later after many trails i given successfull below remedy




Solution :

1) point to project folder in command prompt
2)write command npm link   and click on enter from keyboard
3)write ng serve  command





Angular cli ng command is not working

Image
Problem : angular cli command  ng is not working

C:\Windows\System32>ng
'ng' is not recognized as an internal or external command,
operable program or batch file.

Solution :

update .npmrc file at C:\Users\{USERNAME}
with the below line

prefix=${APPDATA}\npm