From 0f4d7a4af0f8986ebdd28a78fe9ea1fbd40036c2 Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Mon, 29 Dec 2025 22:14:45 -0800 Subject: [PATCH] Use COREPACK_ENABLE_STRICT --- scripts/downloadFrontend.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/downloadFrontend.js b/scripts/downloadFrontend.js index 02ecfe10..6d6cf409 100644 --- a/scripts/downloadFrontend.js +++ b/scripts/downloadFrontend.js @@ -28,8 +28,8 @@ if (frontend.optionalBranch) { try { execAndLog(`git clone ${frontendRepo} --depth 1 --branch ${frontend.optionalBranch} ${frontendDir}`); - execAndLog(`pnpm install --frozen-lockfile`, frontendDir); - execAndLog(`pnpm run build`, frontendDir, { DISTRIBUTION: 'desktop' }); + execAndLog(`pnpm install --frozen-lockfile`, frontendDir, { COREPACK_ENABLE_STRICT: '0' }); + execAndLog(`pnpm run build`, frontendDir, { COREPACK_ENABLE_STRICT: '0', DISTRIBUTION: 'desktop' }); await fs.mkdir('assets/ComfyUI/web_custom_versions/desktop_app', { recursive: true }); await fs.cp(path.join(frontendDir, 'dist'), 'assets/ComfyUI/web_custom_versions/desktop_app', { recursive: true }); await fs.rm(frontendDir, { recursive: true });