![]() ![]() Sudo npm install -g global Angular CLI version is greater than your local version.The local Angular CLI version is usedĪfter updating Angular CLI globally you might get this warning if your local project’s angular cli version less than the global angular cli version.Īs local packages have more priority than global packages you will get Your global Angular CLI version is greater than your local version.The local Angular CLI version is used warning. Sudo npm cache clean or sudo npm cache verify (if npm > 5) Npm install -g you are using MAC or linux systems you might need to add the prefix sudo before npm sudo npm uninstall -g angular-cli Npm cache clean or npm cache verify (if npm > 5) Then install latest Angular CLI version using npm install -g command.Then run npm cache verify command to clear the node packages cache. ![]() First uninstall the existing Angular cli packages. ![]() Steps To update Angular CLI version globally in your system. To update Angular CLI to a new version, It’s better to update both the global Angular CLI installed in your machine as well as your project’s local Angular CLI.
0 Comments
Leave a Reply. |