title: tsx cannot find module 'xxx'
body: <p>I am using yarn v2 to install the dependency package, and using <code>yarn start</code> command to start the project smoothly, but vscode always reminds me that I can't find any local modules.</p>
  <p><a href="https://i.stack.imgur.com/dFUyE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dFUyE.png" alt="enter image description here" /></a></p>
  <p>And here is my <code>tsconfig.json</code> file:</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;compilerOptions&quot;: {
      &quot;target&quot;: &quot;es5&quot;,
      &quot;lib&quot;: [
        &quot;dom&quot;,
        &quot;dom.iterable&quot;,
        &quot;esnext&quot;
      ],
      &quot;allowJs&quot;: true,
      &quot;skipLibCheck&quot;: true,
      &quot;esModuleInterop&quot;: true,
      &quot;allowSyntheticDefaultImports&quot;: true,
      &quot;strict&quot;: false,
      &quot;forceConsistentCasingInFileNames&quot;: true,
      &quot;module&quot;: &quot;esnext&quot;,
      &quot;moduleResolution&quot;: &quot;node&quot;,
      &quot;resolveJsonModule&quot;: true,
      &quot;isolatedModules&quot;: true,
      &quot;noEmit&quot;: true,
      &quot;jsx&quot;: &quot;react&quot;
    },
    &quot;include&quot;: [
      &quot;src&quot;
    ]
  }
  </code></pre>
  <p>Here is my folder structure:</p>
  <p><a href="https://i.stack.imgur.com/t8jQE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t8jQE.png" alt="enter image description here" /></a></p>