title: Getting error "could not find declaration file for module ..." in React
body: <p>I generally use <em>npm</em> install to build node_modules. But for some reasons I removed node_modules folder, updated the node to v12.8.1 and did yarn install.</p>
  <p>Then on I am getting the below errors.</p>
  <ol>
  <li><strong>Module not found</strong>. although those modules are present in the node_modules.</li>
  <li><strong>could not find declaration files...</strong> although we are not using typescript in the project.</li>
  </ol>
  <p>Can someone help me with this?</p>