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

Experimental Mode not working with Windows (and WSL) #218

Closed
matthewchigira opened this issue Nov 20, 2020 · 1 comment · Fixed by #220
Closed

Experimental Mode not working with Windows (and WSL) #218

matthewchigira opened this issue Nov 20, 2020 · 1 comment · Fixed by #220
Assignees
Labels

Comments

@matthewchigira
Copy link
Contributor

matthewchigira commented Nov 20, 2020

Issue

When using Merge in Windows using the WSL, experimental mode has a problem.

In the URL that it generates and opens, it will insert the ^ character after your port number. This results in the page not being able to load.

image

Workaround

The workaround is to manually delete the ^ character from the URL in the browser and that enables the page to load. N.B. this does not affect the normal uxpin-merge push command.

Idea for fix

If we can't prevent this character from being inserted (perhaps it comes from a bug in WSL), then we can just manually strip out ^ characters from final generated string.

@matthewchigira
Copy link
Contributor Author

This is caused by a bug for WSL environments in the deprecated opn package.

A fix has been made in the new version of the package, which is called open.

If we use the new open package, then we can utilise the fix by specifying the URL option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant