title: yarn dev failed in WSL (error: not an absolute path)
body: <p>I install nvm and yarn in WSL, and my web project folder is on Windows F:/ , when I run <code>yarn dev</code> in WSL bash, vite come out an error:</p>
  <pre class="lang-sh prettyprint-override"><code>➜  testProject yarn dev
  yarn run v1.22.11
  warning package.json: No license field
  $ vite
   &gt; error: The working directory &quot;/mnt/f/testProject&quot; is not an absolute path
  
  error when starting dev server:
  Error: Build failed with 1 error:
  error: The working directory &quot;/mnt/f/testProject&quot;
  is not an absolute path
      at failureErrorWithLog (/mnt/f/testProject/node_modules/esbuild/lib/main.js:1449:15)
      at /mnt/f/testProject/node_modules/esbuild/lib/main.js:1131:28
      at runOnEndCallbacks (/mnt/f/testProject/node_modules/esbuild/lib/main.js:921:63)
      at buildResponseToResult (/mnt/f/testProject/node_modules/esbuild/lib/main.js:1129:7)
      at /mnt/f/testProject/node_modules/esbuild/lib/main.js:1236:14
      at /mnt/f/testProject/node_modules/esbuild/lib/main.js:609:9
      at handleIncomingPacket (/mnt/f/testProject/node_modules/esbuild/lib/main.js:706:9)
      at Socket.readFromStdout (/mnt/f/testProject/node_modules/esbuild/lib/main.js:576:7)
      at Socket.emit (events.js:400:28)
      at Socket.emit (domain.js:470:12)
  error Command failed with exit code 1.
  info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  </code></pre>
  <p>WSL Path:</p>
  <pre class="lang-sh prettyprint-override"><code>➜  testProject where yarn
  /home/gowsl/.nvm/versions/node/v14.17.5/bin/yarn
  /mnt/c/Program Files/nodejs/yarn
  
  ➜  testProject where npm
  /home/gowsl/.nvm/versions/node/v14.17.5/bin/npm
  /mnt/c/Program Files/nodejs/npm
  
  ➜  testProject which npm
  /home/gowsl/.nvm/versions/node/v14.17.5/bin/npm
  
  ➜  testProject which yarn
  /home/gowsl/.nvm/versions/node/v14.17.5/bin/yarn
  </code></pre>