your global angular cli version 10.0 0 is greater than your local code example
Example 1: Global Angular CLI version greater than local version
npm install --save-dev @angular/cli@latest
Example 2: Your global Angular CLI version (11.0.2) is greater than your local version
# Install npm-check-updates
$ npm i -g npm-check-updates
# Run npm-check-updates with -u, will upgrade package.json
$ ncu -u
# Install updated packages
$ npm install