替换前端编译npm源地址为https://registry.npmmirror.com

This commit is contained in:
hujian 2023-02-16 23:08:34 +08:00
parent a175a3b7f0
commit e79d38f32d

View File

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