From caa8bd7e7fc77260ad957af4c92f3d0cd9a8b942 Mon Sep 17 00:00:00 2001 From: whyour Date: Sun, 1 May 2022 14:15:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dpnpm=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_docker_image.yml | 2 +- README.md | 2 +- docker/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_docker_image.yml b/.github/workflows/build_docker_image.yml index afe7e6a4..57da0d70 100644 --- a/.github/workflows/build_docker_image.yml +++ b/.github/workflows/build_docker_image.yml @@ -27,7 +27,7 @@ jobs: - name: build front and back run: | - npm i -g pnpm + npm i -g pnpm@6 pnpm install pnpm build:front pnpm build:back diff --git a/README.md b/README.md index a778bbe6..2acb9a7c 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,7 @@ $ git clone git@github.com:whyour/qinglong.git $ cd qinglong $ cp .env.example .env # 推荐使用 pnpm https://pnpm.io/zh/installation -$ npm install -g pnpm +$ npm install -g pnpm@6 $ pnpm install $ pnpm start ``` diff --git a/docker/Dockerfile b/docker/Dockerfile index 2af17b8d..0a81df0a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -38,7 +38,7 @@ RUN set -x \ && touch ~/.bashrc \ && git config --global user.email "qinglong@@users.noreply.github.com" \ && git config --global user.name "qinglong" \ - && npm install -g pnpm \ + && npm install -g pnpm@6 \ && pnpm install -g pm2 \ && pnpm install -g ts-node typescript tslib \ && git clone -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} \