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 … Read more

How to upgrade Angular CLI to the latest version

After reading some issues reported on the GitHub repository, I found the solution. In order to update the angular-cli package installed globally in your system, you need to run: Depending on your system, you may need to prefix the above commands with sudo. Also, most likely you want to also update your local project version, because … Read more

tech