From 30c8c53566c16f7128081d965eb41cc62c657317 Mon Sep 17 00:00:00 2001 From: robertu <4065233+robertu7@users.noreply.github.com> Date: Wed, 21 Feb 2024 17:55:12 +0800 Subject: [PATCH] fix: cannot compile source js after upgrade to typescript@5 --- Dockerfile | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab5c432..6dd5561 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ RUN npm ci --omit=dev ## the actual run image FROM public.ecr.aws/lambda/nodejs:18 RUN yum update -y && \ - yum install postgresql.x86_64 -y + yum install postgresql -y ENV NODE_OPTIONS="--trace-warnings" diff --git a/tsconfig.json b/tsconfig.json index 0b54578..770ba06 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@tsconfig/node18/tsconfig.json", + "extends": "./node_modules/@tsconfig/node18/tsconfig.json", "compilerOptions": { "outDir": "./dist", "module": "esnext",