Running node through WSL and path mappings
I tried running node via WSL in Win10, but it seems like it is making assumptions regarding where to find the files.
I have the setup where I do git checkout within WSL, on the WSL drive to not have problems with file-permissions and flags. It has a fixed mapping of the local filesystem to the /mnt/c/.... whatever path you have for your project.
However, I'm opening the \\wsl$ drive (actually, mapped to L:), but since I have opened L:/home/user/project-folder, it tries to find the mocha runner (and ultimately files), from /mnt/l/...
In order for this to work, I would need to tell it that my L: drive is actually root in the WSL shell. But I can't seem to find a way of doing that.
Please sign in to leave a comment.
WSL2 is not yet supported; please follow https://youtrack.jetbrains.com/issue/WEB-39819 and linked tickets for updates