How to solve the problem of slow Ubuntu npm download
This article mainly explains "how to solve the problem of slow Ubuntu npm download". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to solve the problem of slow Ubuntu npm download.
In the use of npm download, the speed is very slow, waiting for half an hour or motionless:
Tried some methods, the effect is not very obvious, and finally found a simple and effective method:
1. The terminal enters a command to display the current mirror address: npm get registry
two。 Enter the command again and use the image address of Taobao: npm config set registry http://registry.npm.taobao.org
3. Test whether the replacement is successful: npm get registry
4. When I re-entered the previous download, I found that it was much faster:
Thank you for your reading, the above is the content of "how to solve the problem of slow Ubuntu npm download". After the study of this article, I believe you have a deeper understanding of how to solve the problem of slow Ubuntu npm download. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!