Cannot detect CDP client for Puppeteer
# crawlee-js
m
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`
h
Someone will reply to you shortly. In the meantime, this might help:
m
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>)
@User @User
a
Please share your package.json, and the docker file you're using