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

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"]
  },
image.png
Was this page helpful?