替换前端编译npm源地址

This commit is contained in:
hujian 2023-02-16 23:04:33 +08:00
parent b13ecc578c
commit f7b67e28cc

View File

@ -69,7 +69,7 @@ git clone https://github.com/648540858/wvp-GB28181-pro.git
### 5.2 编译前端页面 ### 5.2 编译前端页面
```shell script ```shell script
cd wvp-GB28181-pro/web_src/ cd wvp-GB28181-pro/web_src/
npm --registry=https://registry.npm.taobao.org install npm --registry=http://registry.npmmirror.com install
npm run build npm run build
``` ```
编译如果报错, 一般都是网络问题, 导致的依赖包下载失败 编译如果报错, 一般都是网络问题, 导致的依赖包下载失败