worthy-roseW
Apify & Crawlee3y ago
67 replies
worthy-rose

enqueuelinks doesn't work.

at ArrayValidator.handle (/home/chirag/Desktop/crawlee_test/my-crawler/node_modules/@sapphire/shapeshift/src/validators/ArrayValidator.ts:102:17)
    at ArrayValidator.parse (/home/chirag/Desktop/crawlee_test/my-crawler/node_modules/@sapphire/shapeshift/src/validators/BaseValidator.ts:103:2)
    at RequestQueueClient.batchAddRequests (/home/chirag/Desktop/crawlee_test/my-crawler/node_modules/@crawlee/src/resource-clients/request-queue.ts:338:36)
    at RequestQueue.addRequests (/home/chirag/Desktop/crawlee_test/my-crawler/node_modules/@crawlee/src/storages/request_queue.ts:376:46)
    at enqueueLinks (/home/chirag/Desktop/crawlee_test/my-crawler/node_modules/@crawlee/src/enqueue_links/enqueue_links.ts:373:25)
    at browserCrawlerEnqueueLinks (/home/chirag/Desktop/crawlee_test/my-crawler/node_modules/@crawlee/src/internals/browser-crawler.ts:725:24)
    at async PlaywrightCrawler.requestHandler [as userProvidedRequestHandler] (file:///home/chirag/Desktop/crawlee_test/my-crawler/src/main.ts:119:13)
    at async wrap (/home/chirag/Desktop/crawlee_test/my-crawler/node_modules/@apify/src/index.ts:77:27) {"id":"HNdzawiNRrxNKir","url":"https://helpdesk.egnyte.com/","method":"GET","uniqueKey":"https://helpdesk.egnyte.com"}


also how to check the function code for enqueue links etc and functions mentioned in this trace? I can only see the function definitions and headers in a ts file. No @crawlee/src folder in the node modules is shown
Was this page helpful?