I have created a angular project with Angular CLI: 1.6.3 Node: 9.4.0 OS: linux x64 version. But when want to run my angular app with command ng serve then fetch this error
I only installed my angular/cli using: npm install -g @angular/cli@1.5.2 And I started getting this error.
npm install -g @angular/cli@1.5.2
Solution: If your version is global and If you don't mind the version of your angular/cli then type: npm update -g @angular/cli
npm update -g @angular/cli