Adding puppeteer dependency in crawlee

Hi, I'm using Crawlee's Puppeteer crawler I've imported crawlee via package.json like
{
"crawlee": "^3.5.4"
}
{
"crawlee": "^3.5.4"
}
Shall I be importing puppeteer in via my package.json as well? I see puppeteer in crawlee's peer dependency but as optional https://www.npmjs.com/package/crawlee?activeTab=code Issue is that puppeteer gets bumped very often with bug fixes and I've been stuck with puppeteer 21.1.x. Ideal expectation is that I just import Crawlee and bumping Crawlee bumps puppeteer as well as per its requirements/support. Reference https://github.com/apify/crawlee/discussions/2101
npm
crawlee
The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.. Latest version: 3.5.4, last published: 16 days ago. Start using crawlee in your project by running npm i crawlee. There are 24 other projects in the npm registry u...
GitHub
Adding puppeteer dependency in crawlee · apify crawlee · Discussion...
Hi, I'm using Crawlee's Puppeteer crawler I've imported crawlee via package.json like { "crawlee": "^3.5.4" } Shall I be importing puppeteer in via my package.json a...
2 Replies
MEE6
MEE6•2y ago
@makditeam just advanced to level 1! Thanks for your contributions! 🎉
wise-white
wise-white•2y ago
If you deploying actor to apify cloud it should be included without further actions, otherwise check your app package.json

Did you find this page helpful?