title: Error cause by dependency of a dependency
body: <p>When working on Angular Universal app I get the following error:</p>
  <pre class="lang-bash prettyprint-override"><code>preact/compat:211:70-71 - Error: export '_unmount' (imported as 'm') was not found in 'preact' (possible exports: Component, Fragment, cloneElement, createContext, createElement, createRef, h, hydrate, isValidElement, options, render, toChildArray)
  
  preact/compat:211:313-314 - Error: export '_unmount' (imported as 'm') was not found in 'preact' (possible exports: Component, Fragment, cloneElement, createContext, createElement, createRef, h, hydrate, isValidElement, options, render, toChildArray)
  
  preact/compat:212:44-45 - Error: export '_unmount' (imported as 'm') was not found in 'preact' (possible exports: Component, Fragment, cloneElement, createContext, createElement, createRef, h, hydrate, isValidElement, options, render, toChildArray)
  </code></pre>
  <p>The error started after I switch projects to work on a Gatsby Preact App,</p>
  <p>I have tried to delete the <code>node_modules</code> directory, and delete the npm cache with <code>npm cache clean -f</code> then run <code>npm ci --legacy-peer-deps</code> and the my ssr development build with <code>npm run dev:ssr</code> I have also tried to uninstall <code>preact</code> and <code>preact/compat</code> with <code>npm uninstall</code>.</p>
  <p>I have also tried printing the local and global packages and did not find preact in them.</p>
  <p>The result of npm ls -g --depth=0 is:</p>
  <pre><code>├── corepack@0.10.0
  ├── lighthouse@9.6.2
  ├── npm-check-updates@15.2.1
  ├── npm@8.11.0
  └── typescript@4.7.4
  </code></pre>
  <p>I have also checked in the package.json file and did not find any mention of preact.</p>
  <p>If I run <code>npm list preact</code> i get:</p>
  <pre><code>├─┬ @walletconnect/web3-provider@1.7.5
  │ └─┬ @walletconnect/qrcode-modal@1.7.7
  │   └── preact@10.4.1
  ├─┬ onfido-sdk-ui@8.1.0
  │ └── preact@10.9.0
  └─┬ walletlink@2.4.0
    └── preact@10.6.4
  </code></pre>