Browse Source

[Fix-15866][Doc] update the taobao mirror link (#15867)

3.2.2-release-bak
zuo 7 months ago committed by GitHub
parent
commit
9a48aca83c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      docs/docs/en/contribute/frontend-development.md
  2. 4
      docs/docs/en/faq.md
  3. 2
      docs/docs/zh/contribute/frontend-development.md
  4. 4
      docs/docs/zh/faq.md

2
docs/docs/en/contribute/frontend-development.md

@ -33,7 +33,7 @@ Use the command line mode `cd` enter the `dolphinscheduler-ui` project director
> If `npm install` is very slow, you can set the taobao mirror > If `npm install` is very slow, you can set the taobao mirror
``` ```
npm config set registry http://registry.npm.taobao.org/ npm config set registry http://registry.npmmirror.com/
``` ```
- Modify `API_BASE` in the file `dolphinscheduler-ui/.env` to interact with the backend: - Modify `API_BASE` in the file `dolphinscheduler-ui/.env` to interact with the backend:

4
docs/docs/en/faq.md

@ -459,11 +459,11 @@ A: 1, cd dolphinscheduler-ui and delete node_modules directory
sudo rm -rf node_modules sudo rm -rf node_modules
``` ```
2, install node-sass through npm.taobao.org 2, install node-sass through npmmirror.com
``` ```
sudo npm uninstall node-sass sudo npm uninstall node-sass
sudo npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ sudo npm i node-sass --sass_binary_site=https://npmmirror.com/mirrors/node-sass/
``` ```
3, if the 2nd step failure, please, [referer url](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/frontend-development.md) 3, if the 2nd step failure, please, [referer url](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/contribute/frontend-development.md)

2
docs/docs/zh/contribute/frontend-development.md

@ -33,7 +33,7 @@ Node包下载 (注意版本 v12.20.2) `https://nodejs.org/download/release/v12.2
> 如果 `npm install` 速度非常慢,你可以设置淘宝镜像 > 如果 `npm install` 速度非常慢,你可以设置淘宝镜像
``` ```
npm config set registry http://registry.npm.taobao.org/ npm config set registry http://registry.npmmirror.com/
``` ```
- 修改 `dolphinscheduler-ui/.env` 文件中的 `API_BASE`,用于跟后端交互: - 修改 `dolphinscheduler-ui/.env` 文件中的 `API_BASE`,用于跟后端交互:

4
docs/docs/zh/faq.md

@ -430,11 +430,11 @@ A:1,cd dolphinscheduler-ui 然后删除 node_modules 目录
sudo rm -rf node_modules sudo rm -rf node_modules
``` ```
2,通过 npm.taobao.org 下载 node-sass 2,通过 npmmirror.com 下载 node-sass
``` ```
sudo npm uninstall node-sass sudo npm uninstall node-sass
sudo npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ sudo npm i node-sass --sass_binary_site=https://npmmirror.com/mirrors/node-sass/
``` ```
3,如果步骤 2 报错,请重新构建 node-saas [参考链接](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/zh/contribute/frontend-development.md) 3,如果步骤 2 报错,请重新构建 node-saas [参考链接](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/zh/contribute/frontend-development.md)

Loading…
Cancel
Save