Skip to content

更新了npm 淘宝镜像源地址 #260

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

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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/start/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ npm init
- 1.执行npm init进行初始化,此时会生成一个package.json文件,如果不进行npm init,在构建npm的时候会报一个错误:`没有找到 node_modules 目录`
- 2.不建议使用cnpm,这样会带来一些未知的错误。如果网络情况不佳,可以使用下面的命令行更换为淘宝源。
```bash
npm config set registry https://registry.npm.taobao.org
npm config set registry https://registry.npmmirror.com
```
:::
接着,继续执行下面的命令。
Expand Down Expand Up @@ -183,4 +183,4 @@ npm run build
[2]: http://es6.ruanyifeng.com/
[3]: https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/

<RightMenu />
<RightMenu />