fix: install corepack from npm (#5905)

* fix: install corepack from npm

* docs: install corepack from npm
pull/84/head
Trivikram Kamat 2025-04-27 07:03:35 -07:00 committed by GitHub
parent baec89f896
commit dd2b1ed580
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 7 additions and 7 deletions

View File

@ -2,5 +2,5 @@ ports:
- port: 5555
onOpen: open-preview
tasks:
- init: corepack enable && pnpm install
- init: npm i -g corepack && pnpm install
command: pnpm run dev:play

View File

@ -60,7 +60,7 @@ git clone https://github.com/vbenjs/vue-vben-admin.git
```bash
cd vue-vben-admin
corepack enable
npm i -g corepack
pnpm install

View File

@ -60,7 +60,7 @@ git clone https://github.com/vbenjs/vue-vben-admin.git
```bash
cd vue-vben-admin
corepack enable
npm i -g corepack
pnpm install
```

View File

@ -60,7 +60,7 @@ git clone https://github.com/vbenjs/vue-vben-admin.git
```bash
cd vue-vben-admin
corepack enable
npm i -g corepack
pnpm install
```

View File

@ -58,7 +58,7 @@ Open a terminal in your code directory and execute the following commands:
cd vue-vben-admin
# Enable the project-specified version of pnpm
corepack enable
npm i -g corepack
# Install dependencies
pnpm install

View File

@ -58,7 +58,7 @@ git clone https://gitee.com/annsion/vue-vben-admin.git
cd vue-vben-admin
# 使用项目指定的pnpm版本进行依赖安装
corepack enable
npm i -g corepack
# 安装依赖
pnpm install

View File

@ -6,7 +6,7 @@ ENV PATH="$PNPM_HOME:$PATH"
ENV NODE_OPTIONS=--max-old-space-size=8192
ENV TZ=Asia/Shanghai
RUN corepack enable
RUN npm i -g corepack
WORKDIR /app