Wednesday, 7 March 2018

Solve angular serve problem

Problem

$ ng serve --open
Versions of @angular/compiler-cli and typescript could not be determined.
The most common reason for this is a broken npm install.

Please make sure your package.json contains both @angular/compiler-cli and types                                                             cript in
devDependencies, then delete node_modules and package-lock.json (if you have one                                                             ) and
run npm install again.

Solve

npm install --save @angular/compiler-cli


debug VISUAL STUDIO CODE Error Fetch Extensions

 Press Windows + S , search for "Environment Variables" , and select: 👉 "Edit the system environment variables" Click...