File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33中科大镜像站的 npm 镜像是 < https://registry.npmjs.org/ > 的反代。
44
5- ## 使用说明
5+ !!! warning
66
7- 编辑 ` ~/.npmrc ` ,添加
8-
9- registry=https://npmreg.proxy.ustclug.org/
10-
11- 若不想将本源设置为默认源,只想使用本源安装某个软件包,可在安装包时采用以下用法:
12-
13- npm --registry https://npmreg.proxy.ustclug.org/ install <packagename>
7+ 由于服务压力过高且存在更好的 NPM 镜像(如阿里云的 [npmmirror 镜像站](https://npmmirror.com/)),本反向代理服务已于 2026-06-12 停止服务,所有请求将被 302 至 npmmirror。
148
159## 注意事项
1610
17- 不支持 publish,若出现错误,请将 ` ~/.npmrc `
18- 中的用户名密码部分注释掉,并删除缓存 (` rm -rf ~/.npm ` )
19- 重试。
11+ 不支持 publish,若出现错误,请将 ` ~/.npmrc ` 中的用户名密码部分注释掉,并删除缓存(` rm -rf ~/.npm ` )重试。
2012
2113## 相关链接
2214
Original file line number Diff line number Diff line change @@ -133,6 +133,11 @@ extra_css:
133133 - https://mirrors.ustc.edu.cn/static/help/roboto.css
134134 - https://mirrors.ustc.edu.cn/static/help/roboto-mono/stylesheet.css
135135
136+ not_in_nav : |
137+ julia.md
138+ nodesource.md
139+ npm.md
140+
136141nav :
137142 - 首页 : /
138143 - 使用帮助 : index.md
@@ -195,10 +200,7 @@ nav:
195200 - 语言镜像 :
196201 - ghcup.md
197202 - hackage.md
198- - julia.md
199203 - node.md
200- - nodesource.md
201- - npm.md
202204 - pypi.md
203205 - rubygems.md
204206 - crates.io-index.md
You can’t perform that action at this time.
0 commit comments