Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

fix(templates): added missing '@types/node' peer dependency (#1860)

Alexd37a7e2a0688
diff --git a/packages/templates/templates/cheerio-ts/package.json b/packages/templates/templates/cheerio-ts/package.json
index ffaa9aa7c..1944a3ddf 100644
--- a/packages/templates/templates/cheerio-ts/package.json
+++ b/packages/templates/templates/cheerio-ts/package.json
@@ -9,7 +9,8 @@
"devDependencies": {
"@apify/tsconfig": "^0.1.0",
"ts-node": "^10.8.0",
- "typescript": "^5.0.0"
+ "typescript": "^5.0.0",
+ "@types/node": "^18.0.0"
},
"scripts": {
"start": "npm run start:dev",
diff --git a/packages/templates/templates/getting-started-ts/package.json b/packages/templates/templates/getting-started-ts/package.json
index 71af99c1b..f2f3c8a04 100644
--- a/packages/templates/templates/getting-started-ts/package.json
+++ b/packages/templates/templates/getting-started-ts/package.json
@@ -10,7 +10,8 @@
"devDependencies": {
"@apify/tsconfig": "^0.1.0",
"ts-node": "^10.8.0",
- "typescript": "^5.0.0"
+ "typescript": "^5.0.0",
+ "@types/node": "^18.0.0"
},
"scripts": {
"start": "npm run start:dev",
diff --git a/packages/templates/templates/playwright-ts/package.json b/packages/templates/templates/playwright-ts/package.json
index 22c4410ed..5c2dd4add 100644
--- a/packages/templates/templates/playwright-ts/package.json
+++ b/packages/templates/templates/playwright-ts/package.json
@@ -10,7 +10,8 @@
"devDependencies": {
"@apify/tsconfig": "^0.1.0",
"ts-node": "^10.8.0",
- "typescript": "^5.0.0"
+ "typescript": "^5.0.0",
+ "@types/node": "^18.0.0"
},
"scripts": {
"start": "npm run start:dev",
diff --git a/packages/templates/templates/puppeteer-ts/package.json b/packages/templates/templates/puppeteer-ts/package.json
index 8060a155e..e126339a0 100644
--- a/packages/templates/templates/puppeteer-ts/package.json
+++ b/packages/templates/templates/puppeteer-ts/package.json
@@ -10,7 +10,8 @@
"devDependencies": {
"@apify/tsconfig": "^0.1.0",
"ts-node": "^10.8.0",
- "typescript": "^5.0.0"
+ "typescript": "^5.0.0",
+ "@types/node": "^18.0.0"
},
"scripts": {
"start": "npm run start:dev",