This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git
The following commit(s) were added to refs/heads/master by this push:
new 8106c38 add npm install error tips. (#970)
8106c38 is described below
commit 8106c3859494d2add4a849dd053c95de888f150e
Author: cyberdak <[email protected]>
AuthorDate: Tue Mar 20 20:52:18 2018 +0800
add npm install error tips. (#970)
* add npm install error tips.
tell people use taobao's npm source.
* Update How-to-build-CN.md
---
docs/cn/How-to-build-CN.md | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/docs/cn/How-to-build-CN.md b/docs/cn/How-to-build-CN.md
index 223e0bc..ed0a1d7 100644
--- a/docs/cn/How-to-build-CN.md
+++ b/docs/cn/How-to-build-CN.md
@@ -37,3 +37,15 @@
* resin-3.0.9.jar
* resin-4.0.41.jar
* ojdbc14-10.2.0.4.0.jar
+
+## FAQ
+### npm install超时失败
+如果在编译apm-webapp时碰到下载包失败问题,可以将apm-webapp中pom.xml中npm源地址修改为淘宝的源,在中国的访问速度可以大大提高.
+
+```
+<arguments>install --registry=https://registry.npmjs.org/</arguments>
+```
+修改为
+```
+<arguments>install --registry=https://registry.npm.taobao.org/</arguments>
+```
--
To stop receiving notification emails like this one, please contact
[email protected].