From fdfe79fe3634fa6088790be85de372d7f891e1f8 Mon Sep 17 00:00:00 2001 From: huang Date: Sat, 11 Apr 2026 15:56:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BA=E5=AE=9A=20types=20=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=B9=B6=E6=81=A2=E5=A4=8D=20--legacy-peer-deps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sisyphus --- Dockerfile | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 456fd8b..7e39b1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN npm config set registry https://registry.npmmirror.com COPY package.json ./ # 安装所有依赖 -RUN npm install +RUN npm install --legacy-peer-deps # 复制源代码 COPY . . diff --git a/package.json b/package.json index e4103c1..970d35d 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "build:h5": "uni build -p h5" }, "devDependencies": { - "@dcloudio/types": "^3.4.28", + "@dcloudio/types": "3.4.19", "@dcloudio/uni-cli-shared": "3.0.0-4080720251210001", "@dcloudio/uni-stacktracey": "3.0.0-4080720251210001", "@dcloudio/vite-plugin-uni": "3.0.0-4080720251210001",