I am trying to update my project from angular 5 to angular 7. For this first is update @angular/cli gloabaly and locally then I installed @angular/cli locally then update ng module and other related commands.
Now, I check my ng --version it is showing me angular 7, but my project is not running its always throwing below error:

Below is my script in package.json file:
"scripts": {
"start": "cross-env NODE_ENV=development webpack-dev-server --port=9000 --
content-base wwwroot/",
"build": "cross-env NODE_ENV=development webpack --progress",
"prod": "cross-env NODE_ENV=production webpack --progress"
}