puppeteer as peerdependency
See original GitHub issueNot 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:
- Created 5 years ago
- Reactions:5
- Comments:9 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
Looks good! 🎉