wise-white
wise-white6mo ago

Cannot detect CDP client for Puppeteer

Hi, How to fix this? Failed to compile ./node_modules/.pnpm/@crawlee+puppeteer@3.13.0_playwright@1.50.1/node_modules/@crawlee/puppeteer/internals/utils/puppeteer_utils.js:224:22 Module not found: Can't resolve 'puppeteer/package.json' 222 | return client.send(command, ...args); 223 | } > 224 | const jsonPath = require.resolve('puppeteer/package.json'); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 225 | const parsed = JSON.parse(await (0, promises_1.readFile)(jsonPath, 'utf-8')); 226 | throw new Error(Cannot detect CDP client for Puppeteer ${parsed.version}. You should report this to Crawlee, mentioning the puppeteer version you are using.); 227 | } https://nextjs.org/docs/messages/module-not-found
3 Replies
Hall
Hall6mo ago
Someone will reply to you shortly. In the meantime, this might help:
wise-white
wise-whiteOP6mo ago
In addition, there are so many other errors, each different every time. Is this library no longer given any attention by the developers? Module not found: Can't resolve ('@keyv/redis' | '@keyv/mongo' | '@keyv/sqlite' | '@keyv/postgres' | '@keyv/mysql' | '@keyv/etcd' | '@keyv/offline' | '@keyv/tiered' | <dynamic>) @Helper @Apify Developer Community Manager
azzouzana
azzouzana6mo ago
Please share your package.json, and the docker file you're using

Did you find this page helpful?