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

Running decktape on WSL #187

Open
laserkelvin opened this issue Jun 15, 2019 · 1 comment
Open

Running decktape on WSL #187

laserkelvin opened this issue Jun 15, 2019 · 1 comment

Comments

@laserkelvin
Copy link

For the brave or foolish (me) who want to run decktape in an Ubuntu 18.04 LTS subsystem via WSL on Windows 10, I've discovered that you can't without installing some missing libraries that are not normally included in the Ubuntu image. Everything can be installed via apt install, and I thought I'd share them in case someone might benefit from this information in the FAQs.

Brief description of environment:
Windows 10 on Surface Go
Ubuntu 18.04.02 Bionic LTS via WSL
NPM version 6.4.1
Node version 10.15.3

Required libraries:

libcairo2-dev
libasound2-dev
libpangocairo-1.0-0
libatk1.0-0
libatk-bridge
libgtk-3-0
libx11-xcb-dev
libx11-composite-dev
libxcursor-dev
libxdamage-dev
libxi-dev
libxtst-dev
libnss3
libcups2
libxss-dev
libxrandr-dev

I can confirm decktape works along with reveal-md after these libraries are installed.

@astefanutti
Copy link
Owner

Thanks a lot for the report, and your bravery 😉.

I agree this would make a valuable entry to the FAQ. I would suggest to point to the Puppeteer docs, e.g.: https://github.com/GoogleChrome/puppeteer/blob/v1.12.1/docs/troubleshooting.md#chrome-headless-doesnt-launch, instead of maintaining the list here.

If you feel like creating a PR, that'd be awesome.

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

No branches or pull requests

2 participants