esbuild icon indicating copy to clipboard operation
esbuild copied to clipboard

Bug: YarnPnP cannot resolve drive letter correctly

Open Seidko opened this issue 1 year ago • 0 comments

Describe the bug

esbuild cannot resolve YarnPnP path with drive letter correctly.

It parsed D:/vsc/webui/.yarn/__virtual__/react-dom-virtual-a5924a3a6d/4/C:/Users/Seidko/AppData/Local/Yarn/Berry/cache/react-dom-npm-18.2.0-dd675bca1c-10c0.zip/node_modules/react-dom/client.js to D:/C:/Users/Seidko/AppData/Local/Yarn/Berry/cache/react-dom-npm-18.2.0-dd675bca1c-10c0.zip/node_modules/react-dom/client.js

Screenshot

image

Step to reproduce

  1. install yarn v3 or later on Windows.
  2. create a project on Non-C drive.
  3. modify log level.
  4. start esbuild.

Sample:

cd D:\
yarn create vite react --template react-ts
cd react
yarn
yarn dev

esbuild version

0.20.1

Seidko avatar Feb 22 '24 04:02 Seidko