-
Notifications
You must be signed in to change notification settings - Fork 854
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
🤯 WSL symlink is different from Native Linux (VM/Container) symlink #3611
Comments
@therealkenc Have you even looked at the issue ? It is not fixed. |
I think this issue should be still opened. I'm encountering the exact same issue:
In this case, I'm not quite sure who to blame : WSL or Docker. |
@therealkenc I experience exactly the same issue as @RDeluxe using build 17134.376. #1475 (comment) mentions that fix is included in 17046, so I assume it should already have it. Or is it not the case? If the fix is already included, please, consider re-opening this issue as at least part of it is still not working as desired. Anyway here are steps to reproduce the issue without Node/Npm and Docker Compose:
|
@devoto13 - do you have developer mode enabled in your Windows 10. |
@therealkenc Yes, enabling developer mode fixes the symlink problem. Sorry for the false alarm. |
Symlinks interoperability is a must ! Creating symbolic links files either on WSL or from other Linux distributions should be able to work between them (not mentioning Windows OS, only Linux distributions, i.e. VM/Container with shared files with WSL host machine).
It is really weird that for allowing Windows Subsystem for Linux symlinks to work with Windows OS symlinks, interoperability is dropped for Native Linux Kernel. A huge bottleneck for adopting WSL and subsequently Windows for development.
Personally I'm on the verge of switching to a Linux setup for development and dropping Windows as development/user OS altogether, was using Cygwin & Bash.exe till now. It seems that there will always be issues that requires days of searching for a solution, but this one was enough for me (wish I could find this mentioned in the docs before attempting to change my setup).
Use case:
Working with
node_modules/.bin/<symlinks>
that where installed with WSL or using native Linux. In such case NPM/Yarn on Linux creates relative symlinks for the.bin
scripts.Symlinks support between WSL, Native Linux, Windows OS:
○ WSL created symlink:
![wsl](https://user-images.githubusercontent.com/7758497/46877532-c9e59180-ce49-11e8-9747-54e5bc038b3d.PNG)
No such file or directory
).○ Linux Container/VM created symlink:
![linuxmobyvm or container](https://user-images.githubusercontent.com/7758497/46877530-c9e59180-ce49-11e8-9c7d-6eaabf7a9e25.PNG)
○ Windows created symlink: Regular soft symbolic link (not Junction)
![windows](https://user-images.githubusercontent.com/7758497/46877531-c9e59180-ce49-11e8-84de-e66051cca111.PNG)
No such file or directory
).Versions:
😟 Will symlinks ever be supported between WSL and native Linux ?
The text was updated successfully, but these errors were encountered: