Apify Discord Mirror

Updated 9 hours ago

Crawlee support esm?

I try to integrate with Nuxt3, when i run on production mode it doesnt work

[nuxt] [request error] [unhandled] [500] Cannot find module '/app/server/node_modules/puppeteer/lib/cjs/puppeteer/puppeteer.js'

im import using module
import { Dataset, PuppeteerCrawler } from 'crawlee'

i check the node_modules/puppeteer/lib only esm folder there

why PuppeteerCrawler still want to run on cjs, any idea?
Add a reply
Sign up and join the conversation on Discord