Apify

Apify and Crawlee Official Forum

b
F
A
J
A

Adding puppeteer dependency in crawlee

Hi, I'm using Crawlee's Puppeteer crawler

I've imported crawlee via package.json like

Plain Text
{
   "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
A
A
2 comments
just advanced to level 1! Thanks for your contributions! πŸŽ‰
If you deploying actor to apify cloud it should be included without further actions, otherwise check your app package.json
Add a reply
Sign up and join the conversation on Discord
Join