ng serve does not work

The key is to have both global and local Angular-cli versions the same.

Let’s say we want to fixate it to eg. 1.0.0-beta.15.

So you can try to fixate the version in npm install -g [email protected] and in your package.json fixate it to the same version: "angular-cli": "1.0.0-beta.15". Then run npm install --save-dev.

Currently Angular CLI can be found on NPM under @angular/cli instead of angular-cli. Here are links to documentation how to uninstall old and install the latest version of CLI.

Leave a Comment