固定 types 版本并恢复 --legacy-peer-deps
Some checks failed
构建并部署前端到生产环境 / build-and-deploy (push) Failing after 47s
Some checks failed
构建并部署前端到生产环境 / build-and-deploy (push) Failing after 47s
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -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 . .
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user