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

Vite cannot seem to resolve paths inside NTFS junction #19094

Open
7 tasks done
SimonEast opened this issue Dec 29, 2024 · 0 comments
Open
7 tasks done

Vite cannot seem to resolve paths inside NTFS junction #19094

SimonEast opened this issue Dec 29, 2024 · 0 comments

Comments

@SimonEast
Copy link

SimonEast commented Dec 29, 2024

Describe the bug

Vite seems to fail to resolve some paths that are inside an NTFS junction. NTFS is the default file system used on Windows. For those not familiar, an NTFS junction is kind of like a symlink, but is mostly transparent to applications in that I don't think they normally need special handling and can reference them just like a regular folder. Perhaps this is not the case for Vite, however.

I initially reported this issue in Vitepress: vuejs/vitepress#4449
And then came across this issue reported in Svelte: sveltejs/kit#3579
But I think the issue may be in Vite itself. (Or is it in Node? 🤔)

Reproduction

Cannot use StackBlitz for reproduction since it requires Windows and NTFS filesystem

Steps to reproduce

I haven't had a chance to develop full reproduction steps as yet, but just want to document this here for now. I'll attempt to flesh it out further when I get time.

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (16) x64 AMD Ryzen 7 5700G with Radeon Graphics
    Memory: 16.13 GB / 31.30 GB
  Binaries:
    Node: 22.12.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 3.5.1 - C:\Program Files\nodejs\yarn.CMD
    npm: 11.0.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.1.2 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Chrome: 131.0.6778.205
    Edge: Spartan (44.19041.3570.0), Chromium (110.0.1587.50)    
    Internet Explorer: 11.0.19041.3570

Used Package Manager

npm

Logs

No response

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant