title: Angular 2 cli - ng serve gives 'EIO: i/o error'
body: <p>I'm working on building a portfolio website using Angular 2. I know there's simpler ways to go about it, but this is also a refresher for me as it's been a while since I've used Angular 2.</p>
  
  <p>When I try to use 'ng serve' to run my project, it crashes and gives this:
  '''"An unhandled exception occurred: EIO: i/o error, read
  See "C:\Users...\angular-errors.log" for further details."'''</p>
  
  <p>The error log just looks like any other error in code:</p>
  
  <pre><code>[error] Error: EIO: i/o error, read
  at Object.readSync (fs.js:506:3)
  at tryReadSync (fs.js:331:20)
  at Object.readFileSync (fs.js:360:19)
  at Object.Module._extensions..js (internal/modules/cjs/loader.js:994:22)
  at Module.load (internal/modules/cjs/loader.js:815:32)
  at Function.Module._load (internal/modules/cjs/loader.js:727:14)
  at Module.require (internal/modules/cjs/loader.js:852:19)
  at require (internal/modules/cjs/helpers.js:74:18)
  at Object.&lt;anonymous&gt; (D:\...\portfolio-website\node_modules\webpack-dev-server\node_modules \braces\lib\utils.js:13:19)
  at Module._compile (internal/modules/cjs/loader.js:959:30)
  </code></pre>
  
  <p>This error started happening when I reset my PC yesterday but kept my files. I still had to reinstall node and angular because windows lost the path keys (or environment variables or whatever lol)</p>
  
  <p>I opened up an administrator command prompt and tried from that, and it woks fine. Is there an ownership issue with the files?</p>
  
  <p>I've searched for a couple of hours and nothing is for this error, and nothing suggested is either relevant or works. Everything I'm using is up to date (unless maybe I don't realize I'm using it? I only started a few days ago)</p>
  
  <p>Versions:
  Angular: 8.3.21
  Node: 12.14.0
  npm: 6.13.4</p>