Drizzle-orm dependencies missing during build

Hi all, Im using Drizzle for the first time and finally made it work locally. But when I tried to build and push my code to a AWS Lambda it's missing a whole lot of dependencies ? This is my config:
drizzle-orm: 0.28.6
pg: 8.11.3
@types/pg: 8.10.5
node version: 20.3.1
drizzle-orm: 0.28.6
pg: 8.11.3
@types/pg: 8.10.5
node version: 20.3.1
tsConfig:
"compilerOptions": {
"target": "ES2020",
"module": "NodeNext",
"lib": ["es2020", "dom"],
"declaration": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": false,
"inlineSourceMap": true,
"inlineSources": true,
"noEmit": true,
"moduleResolution": "NodeNext",
"experimentalDecorators": true,
"strictPropertyInitialization": false,
"typeRoots": ["./node_modules/@types"]
},
"compilerOptions": {
"target": "ES2020",
"module": "NodeNext",
"lib": ["es2020", "dom"],
"declaration": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": false,
"inlineSourceMap": true,
"inlineSources": true,
"noEmit": true,
"moduleResolution": "NodeNext",
"experimentalDecorators": true,
"strictPropertyInitialization": false,
"typeRoots": ["./node_modules/@types"]
},
No description
4 Replies
emrerdem1
emrerdem115mo ago
I also have the same issue, and it's a blocker for me. 😦 I appreciate any suggestions
Angelelz
Angelelz15mo ago
Try adding "skipLibCheck": true to your tsconfig If that doesn't work, please share the code that's throwing that error
m.skovgaard
m.skovgaardOP15mo ago
That worked perfectly 🙏 Thanks a lot
xcaeser
xcaeser13mo ago
was already there with nextjs, still doesn't work.. it screams at Filelist not found
Want results from more Discord servers?
Add your server