- app - agent - server # trpc server - client # nextjs with vanilla trpc client - packages - domain
../server/src/trpc/common.ts:10:22 Type error: Cannot find module '@/collections' or its corresponding type declarations. 8 | import { Readable } from "stream"; 9 | > 10 | import { User } from "@/collections"; | ^ 11 | import config from "@/config"; 12 | import { PUBLIC_PATH } from "@/const"; 13 | Static worker exited with code: 1 and signal: null
{ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2017", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "verbatimModuleSyntax": true, "jsx": "preserve", "incremental": true, "types": [], "paths": { "@/*": ["./src/*"], } }, "references": [{"path": "../server"}], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], "exclude": ["node_modules"] }
Join the Discord to ask follow-up questions and connect with the community
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
4,951 Members