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

Disable pipe for Puppeteer when running on WSL #264

Merged
merged 4 commits into from
Jul 25, 2020
Merged

Disable pipe for Puppeteer when running on WSL #264

merged 4 commits into from
Jul 25, 2020

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Jul 25, 2020

In WSL environment, Puppeteer cannot connect into Windows Chrome through the pipe. I've disabled pipe when running Puppeteer on WSL.

This PR also includes refactoring for handling WSL.

Please be aware Marp CLI over WSL 2 is still not working. Puppeteer does not have a workaround for WSL 2. We have the basic code to detect WSL 2 in the future, but it is also not shipped.

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

Successfully merging this pull request may close these issues.

1 participant