question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

puppeteer as peerdependency

See original GitHub issue

Not everyone might have the use case of exporting to pdf / creating a screenshot. In my case I’m on a 500Kbps connection at home and installing mdx-deck via simple yarn add mdx-deck takes so long that I had to switch to my phone 4G connection which is 40Mbps. Even then it takes 50seconds to install though. So the simplest solution to me seems like making puppeteer a peer-dependency 🙏

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

15reactions
jxnblkcommented, Sep 9, 2018

Yeah, been pondering this. I wonder if the PDF script should be a separate package altogether, rather than in the main CLI. Something like mdx-deck-pdf

3reactions
styflecommented, Mar 10, 2019
version install size
1.8.2 install size
2.0.0-8 install size

Looks good! 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Puppeteer as peer dependency? · Issue #132 · flood-io/element
If puppeteer is a peer dependency of flood.io I could define the puppeteer version itself while using the lastest version of flood.io.
Read more >
Use puppeteer as peer dependency (#212) · Issues · UniverSIS ...
Because we are intended to use puppeteer in all universis projects, we need to control project spaces. So it's better to set puppeteer...
Read more >
Remove explicit puppeteer dependency from package.json
Still see the issue and running npm list puppeteer still shows the unmet peer dependency. I was playing around with v2 format of...
Read more >
@types/puppeteer versions and peer dependencies
Online Peer dependency version tool to search for compatible versions of related NPM packages.
Read more >
puppeteer-cluster@0.20.0 requires a peer of puppeteer@^1.5.0
The peer error is coming from puppeteer-cluster . It seems that the puppeteer-cluster puppeteer version is outdated compared to the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found