Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update https://registry.npm.taobao.org to https://registry.npmmirror.com #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions 30-jstraining/docs/preparation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

## 安装 Node

请到 Node 官网[nodejs.org](https://nodejs.org),或者国内镜像[npm.taobao.org/mirrors/node](https://npm.taobao.org/mirrors/node),下载安装包。推荐安装最新的稳定版,目前是v6.x。
请到 Node 官网[nodejs.org](https://nodejs.org),或者国内镜像[npm.taobao.org/mirrors/node](https://npmmirror.com/mirrors/node),下载安装包。推荐安装最新的稳定版,目前是v6.x。

安装完成后,命令行执行下面的命令,确认是否安装成功。

Expand All @@ -25,7 +25,7 @@ v6.9.1
Node 的模块管理器 npm 会一起安装好。由于 Node 的官方模块仓库网速太慢,模块仓库需要切换到阿里的源。

```bash
$ npm config set registry https://registry.npm.taobao.org/
$ npm config set registry https://registry.npmmirror.com/
```

执行下面的命令,确认是否切换成功。
Expand Down