decktape
decktape copied to clipboard
Running decktape on WSL
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.
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.