unique-blueU
Apify & Crawlee3y ago
5 replies
unique-blue

Quick start example fails to build

I'm using the very basic quick start example from https://crawlee.dev/docs/quick-start with simplest TypeScript template.
First running npx crawlee create my-crawler and after cd my-crawler && npm start it runs successfully.
But running "npm run build" fails with:
PS C:\Projects\crawlee\my-crawler> npm run build > my-crawler@0.0.1 build > tsc node_modules/@crawlee/cheerio/internals/cheerio-crawler.d.ts:3:23 - error TS2688: Cannot find type definition file for 'node_modules/got/dist/source/core/timed-out'. 3 /// <reference types="node_modules/got/dist/source/core/timed-out" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@crawlee/jsdom/internals/jsdom-crawler.d.ts:3:23 - error TS2688: Cannot find type definition file for 'node_modules/got/dist/source/core/timed-out'. 3 /// <reference types="node_modules/got/dist/source/core/timed-out" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ node_modules/@crawlee/linkedom/internals/linkedom-crawler.d.ts:3:23 - error TS2688: Cannot find type definition file for 'node_modules/got/dist/source/core/timed-out'. 3 /// <reference types="node_modules/got/dist/source/core/timed-out" />
Was this page helpful?