title: Error while running angular 8 server. How do I resolve Require stack error?
body: <p>When I try to run an angular server using <code>ng serve --proxy-config proxy.conf.json --open</code> I receive an error -></p>
  
  <pre><code>[error] Error: Cannot find module '@angular-devkit/build-angular/package.json'
  Require stack:
  - C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\architect\node\node-modules-architect-host.js
  - C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\architect\node\index.js
  - C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\models\architect-command.js
  - C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\commands\serve-impl.js
  - C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\schematics\tools\export-ref.js
  - C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\schematics\tools\index.js
  - C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\utilities\json-schema.js
  - C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\models\command-runner.js
  - C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\lib\cli\index.js
  - C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\lib\init.js
  - C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\bin\ng
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15)
      at Function.resolve (internal/modules/cjs/helpers.js:83:19)
      at WorkspaceNodeModulesArchitectHost.resolveBuilder (C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@angular-devkit\architect\node\node-modules-architect-host.js:41:41)
      at ServeCommand.initialize (C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\models\architect-command.js:71:63)
      at async ServeCommand.validateAndRun (C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\models\command.js:124:9)
      at async Object.runCommand (C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\models\command-runner.js:201:24)
      at async default_1 (C:\Users\work\AppData\Roaming\npm\node_modules\@angular\cli\lib\cli\index.js:62:31)
  
  </code></pre>
  
  <p>I tried reinstalling angular but still it was not fixed. I also tried <code>npm i @angular-devkit/build-angular</code> but it didnot work</p>