title: NestJS doesn't start within apps
body: <p>I recently started using turborepo.
  I added a new app into <code>/apps</code> directory, called <code>api</code> by doing the following</p>
  <pre class="lang-sh prettyprint-override"><code>$ cd apps
  $ nest new api
  </code></pre>
  <p>Now if I try and run nest api</p>
  <pre class="lang-sh prettyprint-override"><code>$ cd api
  $ yarn start:dev
  </code></pre>
  <p>It fails with following error,</p>
  <pre><code>../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:3100:14 - error         type LibraryManagedAttributes&lt;C, P&gt;dAttributes'.
                    ~~~~~~~~~~~~~~~~~~~~~~~~
  3100
    ../../node_modules/@types/react/index.d.ts:3100:14
      3100         type LibraryManagedAttributes&lt;C, P&gt; = C extends React.MemoExoticComponent&lt;infer T&gt; | React.LazyExoticComponent&lt;infer T&gt;
                        ~~~~~~~~~~~~~~~~~~~~~~~~
      'LibraryManagedAttributes' was also declared here.
  
  ../../node_modules/@types/react/index.d.ts:3100:14 - error TS2300: Duplicate identifier 'LibraryManagedAttributes'.
  
  3100         type LibraryManagedAttributes&lt;C, P&gt; = C extends React.MemoExoticComponent&lt;infer T&gt; | React.LazyExoticComponent&lt;infer T&gt;
                    ~~~~~~~~~~~~~~~~~~~~~~~~
  
    ../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:3100:14
      3100         type LibraryManagedAttributes&lt;C, P&gt; = C extends React.MemoExoticComponent&lt;infer T&gt; | React.LazyExoticComponent&lt;infer T&gt;
                        ~~~~~~~~~~~~~~~~~~~~~~~~
      'LibraryManagedAttributes' was also declared here.
  
  [4:35:02 PM] Found 2 errors. Watching for file changes.
  
  
  </code></pre>
  <p>Help!</p>