Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: pnpm version use 8.9.2

shuai8667b2c6e8fc
diff --git a/Dockerfile b/Dockerfile
index 6278e1a5..bd5f8768 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -34,7 +34,7 @@ ARG CGO_EXTRA_CFLAGS
COPY . ${BUILD_DIR}
WORKDIR ${BUILD_DIR}
-RUN apk --no-cache add build-base git bash nodejs npm && npm install -g pnpm@latest \
+RUN apk --no-cache add build-base git bash nodejs npm && npm install -g [email protected] \
&& make clean build
RUN chmod 755 answer
diff --git a/ui/package.json b/ui/package.json
index 693d491e..50ea3688 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -91,7 +91,7 @@
"typescript": "^4.9.5",
"yaml-loader": "^0.8.0"
},
- "packageManager": "pnpm@^9",
+ "packageManager": "[email protected]",
"engines": {
"node": ">=16.17",
"pnpm": ">=8"