File tree Expand file tree Collapse file tree 4 files changed +9757
-7
lines changed Expand file tree Collapse file tree 4 files changed +9757
-7
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,10 @@ jobs:
2222 node-version : 18
2323 cache : " npm"
2424
25- - name : Install cnpm and dependencies
25+ - name : Install dependencies
2626 run : |
27- npm install --package-lock-only
28- npm install -g cnpm # 安装 cnpm
29- cnpm install # 使用 cnpm 安装依赖
27+ npm install --package-lock-only # 仅生成 package-lock.json
28+ npm install # 使用 npm 安装依赖
3029
3130 - name : Build project
3231 run : npm run build
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ git clone https://github.com/ProgramCX/flow_im_app.git
40402 . 安装依赖
4141``` bash
4242cd flow_im_app
43-
44- cnpm install # 如果你在中国大陆地区,建议使用cnpm安装依赖
43+ npm set registry https://registry.npmmirror.com # 如果在中国大陆地区,建议使用淘宝镜像
44+ npm install
4545```
4646
47473 . 启动项目
Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ git clone https://github.com/ProgramCX/flow_im_app.git
39392 . Install dependencies:
4040``` bash
4141cd flow_im_app
42- cnpm install # If you are in mainland China, using cnpm is recommended.
42+ npm set registry https://registry.npmmirror.com # If you are in mainland China, using the Taobao mirror is recommended.
43+ npm install
4344```
44453 . Start the project:
4546``` bash
You can’t perform that action at this time.
0 commit comments