Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: YarnPnP cannot resolve drive letter correctly #3663

Open
Seidko opened this issue Feb 22, 2024 · 0 comments · May be fixed by #3664
Open

Bug: YarnPnP cannot resolve drive letter correctly #3663

Seidko opened this issue Feb 22, 2024 · 0 comments · May be fixed by #3664

Comments

@Seidko
Copy link

Seidko commented Feb 22, 2024

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 Seidko changed the title Bug: YarnPnP cannot handle drive letter correctly Bug: YarnPnP cannot resolve drive letter correctly Feb 22, 2024
@Seidko Seidko linked a pull request Feb 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant