wu-sheng closed pull request #970: add npm install error tips.
URL: https://github.com/apache/incubator-skywalking/pull/970
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/cn/How-to-build-CN.md b/docs/cn/How-to-build-CN.md
index 223e0bc4c..ed0a1d7e0 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>
+```


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to