jspm/jspm-vscode

Error when generating import map in WSL: "Found unexpected protocol vscode-remote"

Opened this issue · 1 comments

Works great when running under default Windows installation but opening a project under WSL gives the following error:

Error: Found unexpected protocol vscode-remote: imported from vscode-remote://wsl%2Bubuntu-20.04/home/xyz/link_to_project/

If you are linking locally against your node_modules folder, make sure that you have all the necessary dependencies installed.

Source: JSPM Generator (Extension)

I also noticed that vscode doesn't give an option to install JSPM Generator in WSL but it does give this option for other extensions. Maybe the error has something to do with this since the extension works fine when opening the exact same project outside of WSL.

image

We should definitely support remote, that would be great to see.

I'm going to mark this as an enhancement pending further work here. If you or anyone else is interested in a PR I would gladly review it.