In PNPM workspaces, a package is only symlinked into node_modules if at least one workspace project depends on it.
Your package @repo/typescript-config exists in packages/, but no app explicitly lists it as a dependency — so PNPM simply doesn’t link it.
✅ Fix
Add the shared TypeScript config package as a dependency inside the consuming app:
apps/http-server/package.json
{
"devDependencies": {
"typescript": "latest",
"@repo/typescript-config": "workspace:*"
}
}
Then reinstall workspace dependencies:
pnpm -w install
Now PNPM will create:
node_modules/@repo/typescript-config -> ../../packages/typescript-config
And TypeScript successfully resolves:
"extends": "@repo/typescript-config/backends.json"