tsc fails to build due to errors

When I run tsc to compile the project to javascript, I am getting the following error:
Found 4 errors in 2 files.

Errors Files
2 node_modules/.pnpm/[email protected][email protected]/node_modules/drizzle-orm/db.d-b9835153.d.ts:593
2 node_modules/.pnpm/[email protected][email protected]/node_modules/drizzle-orm/pg-core/index.d.ts:336
Found 4 errors in 2 files.

Errors Files
2 node_modules/.pnpm/[email protected][email protected]/node_modules/drizzle-orm/db.d-b9835153.d.ts:593
2 node_modules/.pnpm/[email protected][email protected]/node_modules/drizzle-orm/pg-core/index.d.ts:336
Weird thing is, it actually compiles successfully, and I can start the app. Can I just ignore the error?
2 Replies
tea bone
tea boneOP16mo ago
I just added skipLibCheck option and it works
pandareaper
pandareaper16mo ago
Also interested in this one. Would love to see a solution that doesn't involve skipLibCheck
Want results from more Discord servers?
Add your server