Solution:- Start PowerShell as Administrator and run the following command: mkdir “C:\Program Files (x86)\Microsoft SDKs\NuGetPackagesFallback” Then restart Visual Studio and everything should work.
Solution:- Remove all contents from /dist folder and run the application from Visual Studio. This is a bug with latest Visual Studio.
Solution:- ng –version npm install –save-dev @angular/cli@latest ng –version
Run npm install -g npm to update!