title: NodeJS Debugging Error: No such module: http_parser
body: <p>I was debugging my nodejs app in vs-code without errors, but suddenly it did begin to give this error:</p>
  
  <pre><code>Error: No such module: http_parser
  at internalBinding (internal/bootstrap/loaders.js:104:17)
  at _http_client.js:27:24
  at NativeModule.compile (internal/bootstrap/loaders.js:363:7)
  at NativeModule.require (internal/bootstrap/loaders.js:174:18)
  at http.js:25:27
  at NativeModule.compile (internal/bootstrap/loaders.js:363:7)
  at Function.NativeModule.require (internal/bootstrap/loaders.js:174:18)
  at Function.Module._load (internal/modules/cjs/loader.js:517:25)
  at Module.require (internal/modules/cjs/loader.js:637:17)
  at require (internal/modules/cjs/helpers.js:22:18)
  </code></pre>
  
  <p>Actually the app works successfully, for example, <code>express-js</code> http functions work as expected, but i am unable to do debugging.</p>
  
  <ul>
  <li>I have already installed that package, named as <code>http-parser</code> </li>
  </ul>
  
  <p><strong>Edit:</strong> Node Version: v10.14.2, there is no extensions installed, just the vs-code built-in debugging runtime. After i have inspected more, the execution was coming to the <em>loader.js</em> and was terminating afterwards.</p>
  
  <p><strong>Edit2:</strong> Renaming the project folder fixed the issue but why? Could anybody explain this?</p>