Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: build web image fail (#13996)

Joel15f028fe59a3
diff --git a/web/package.json b/web/package.json
index 275d74c0453..f17f9cf81d9 100644
--- a/web/package.json
+++ b/web/package.json
@@ -48,7 +48,6 @@
"@tanstack/react-query": "^5.60.5",
"@tanstack/react-query-devtools": "^5.60.5",
"ahooks": "^3.8.1",
- "canvas": "^3.1.0",
"class-variance-authority": "^0.7.0",
"classnames": "^2.5.1",
"copy-to-clipboard": "^3.3.3",
@@ -163,6 +162,7 @@
"@types/uuid": "^10.0.0",
"autoprefixer": "^10.4.20",
"bing-translate-api": "^4.0.2",
+ "canvas": "^3.1.0",
"code-inspector-plugin": "^0.18.1",
"cross-env": "^7.0.3",
"eslint": "^9.13.0",
diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml
index f51b797f0f6..77fe853c4ba 100644
--- a/web/pnpm-lock.yaml
+++ b/web/pnpm-lock.yaml
@@ -85,9 +85,6 @@ importers:
ahooks:
specifier: ^3.8.1
version: 3.8.1([email protected])
- canvas:
- specifier: ^3.1.0
- version: 3.1.0
class-variance-authority:
specifier: ^0.7.0
version: 0.7.0
@@ -425,6 +422,9 @@ importers:
bing-translate-api:
specifier: ^4.0.2
version: 4.0.2
+ canvas:
+ specifier: ^3.1.0
+ version: 3.1.0
code-inspector-plugin:
specifier: ^0.18.1
version: 0.18.3