-
Notifications
You must be signed in to change notification settings - Fork 112
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
Error: UNKNOWN: unknown error, lstat on WSL symbolic links #161
Comments
Hello, @bmewburn, Thanks for issue. I correctly understand that asymbolic link was created under WSL and trying to use it under Windows? Also a few leading questions:
We need diagnostics from the user who has problems. Unfortunately, without |
Thanks @mrmlnc . Will try to find time to debug further. I dont think it's just WSL, this user is reporting that it's NTFS junction points bmewburn/vscode-intelephense#461 . I guess this is more an issue with https://github.com/JS-DevTools/readdir-enhanced ? I dont see any |
I think this behavior is not relevant to the |
Reproduce steps:
|
So, after research: the This is will be work correctly after #163, but only with Node.js 10.10+. I'll think about how to handle situation on Node.js below 10.10. |
Unfortunately, the correct behavior is only guaranteed for Node.js 10.10+. For the correct operation of the package requires information about what the file in front of us: symbolic link, file or something else. We cannot ignore the So, right now VS Code build with Node.js 10.2.0. The next update was delayed (microsoft/vscode#61787). I will describe this behavior in the documentation. |
Thanks for your effort on this project. I'm using fast-glob in a PHP language server and am getting reports from users about lstat errors. Most of these users are on Windows and are using WSL, though a minority appear not to be using WSL.
This is the issue containing most of the information:
bmewburn/vscode-intelephense#260
This may also be useful:
microsoft/WSL#1524
I'm not a Windows user myself but will try and add some further info later.
Environment
Windows
Actual behavior
Error: UNKNOWN: unknown error, lstat 'e:\firma\fbpopular\public\storage'
Expected behavior
No error.
Steps to reproduce
The text was updated successfully, but these errors were encountered: