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

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

Open
shine-on-me opened this issue Oct 12, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@shine-on-me
Copy link

shine-on-me commented Oct 12, 2023

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

@guybedford
Copy link
Member

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.

@guybedford guybedford added the enhancement New feature or request label Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants