Skip to content

Commit 3c486e9

Browse files
LucasMaupinclaude
andcommitted
fix(server): add missing undici-types peer dependency for @types/node v20
@types/node ^20 requires undici-types to be present in node_modules for its fetch/worker_threads type declarations. Without it tsc fails with TS2307 "Cannot find module 'undici-types'" during lerna bootstrap. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b0d74da commit 3c486e9

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

packages/server/package-lock.json

Lines changed: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/server/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"ts-mockito": "^2.6.1",
3232
"ts-node": "^10.9.2",
3333
"tsc-watch": "^4.6.2",
34-
"typescript": "^5.9.3"
34+
"typescript": "^5.9.3",
35+
"undici-types": "^7.22.0"
3536
},
3637
"dependencies": {
3738
"@fastify/cors": "^10.1.0",

0 commit comments

Comments
 (0)