I have created one application with angular cli. While running the application with ng serve, I got below error -
Does anyone knows, how to resolve this error?
I have created one application with angular cli. While running the application with ng serve, I got below error -
Does anyone knows, how to resolve this error?
Like Parth Ghiya pointed out, the error message tells you to run the npm install @angular/core@latest
command to update your Angular Code module to a version compatible with the Angular CLI.
If this does not solve the issue, try to remove the @angular/core line in your package.json file and running the npm install @angular/core@latest --save
to save a reference the latest version in your package.json file.