npm Full name Node Package Manager, yes node.js Module dependency management tools . because npm The source of Chinese culture is abroad , So it's not convenient for domestic users . We use it by setting up TaoBao To speed us up .

Temporary use

npm --registry https://registry.npm.taobao.org install express

Durable use

npm config set registry https://registry.npm.taobao.org
// After configuration, you can verify the success by 
npm config get registry
// or
npm info express

npm More related articles on the method of using domestic image

  1. npm Using the domestic image method

    One . Configure... By command 1. command npm config set registry https://registry.npm.taobao.org 2. Validation command npm config get registr ...

  2. npm Configure domestic mirror resources + Taobao mirror

    take npm The registry source of is set to the domestic image 1. Domestic users , It is suggested that npm The registry source of is set to the domestic image , It can greatly increase the installation speed 2. Domestic excellent npm Image recommendation and use :http://riny.net/2014/cnpm/ ...

  3. NPM How to use image in China

    npm The official site : http://www.npmjs.org/ This article uses the domestic image address : http://www.cnpmjs.org/ Search mirroring :https://npm.taobao.org/ The specific methods : ...

  4. Replace npm Source image cnpm

    Default image source https://www.npmjs.com/ Temporarily change the mirror source Method 1 : adopt config The configuration points to the domestic mirror source npm config set registry http://registry.c ...

  5. Anaconda Change to domestic mirror method

    Anaconda Of conda Very easy to use But if you use the mirror image from abroad , Surprisingly slow It would be much better to change it to a domestic image conda config --add channels https://mirrors.tuna.ts ...

  6. maven Use The method of domestic mirror image The solution depends on slow download

    from :http://blog.csdn.net/banqgg/article/details/55804569 Maven It's a popular project management tool , But the official library is often out of reach abroad , Even the download speed is very slow . At home ...

  7. modify apt,pip,npm For domestic mirror source

    apt Backup of original files sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak Edit source list file sudo vim /etc/apt/sources. ...

  8. rust Use domestic image , Quick installation method

    Preface Well known , Because of firewall in China , Access to foreign networks is slow . If you directly follow rust The installation of the official website is very easy to fail , Even if it doesn't fail, it's very, very slow If you use domestic images, you can do it in minutes Official installation method file : h ...

  9. npm How to set the mirror station to Taobao

    Reprint 2015 year 06 month 24 Japan 17:12:12 10542 Taobao mirror :http://npm.taobao.org/ How to use image ( Any one of the three solutions can solve the problem , The third one is recommended , Write configuration dead , Next time you use it ...

Random recommendation

  1. Use VS2013 Reverse generation UML Class diagram

    To quote http://blog.csdn.net/funnyfu0101/article/details/7705173 First . Open the project ,[ Architecture ]->[ New diagram ] Generate a class diagram then [ Architecture ...

  2. ttttttttttt

    http://www.2cto.com/kf/201606/519504.html http://a67474506.iteye.com/blog/2079590 spring boot: http: ...

  3. eclipse The problem of Engineering chaos

    One Set the encoding format for the workspace ( Effective for new projects ) window-->preference-->Gerneral-->Workspace-->Text file coding--- ...

  4. unity, see build edition log file

    http://blog.theknightsofunity.com/accessing-unity-game-logs/

  5. Peer certificate cannot be authenticated with known CA certificates.

    I was trying to post to a webservice and was getting the 60 error code: Peer certificate cannot be a ...

  6. python zookeeper stay uwsgi in watcher Don't take effect

    def code_watcher(handle,type, state, path):     print "zk code watcher,path is: ",path #da ...

  7. Thinking in scala (1)---- class

    ChecksumAccumulator.scala import scala.collection.mutable.Map class ChecksumAccumulator { private va ...

  8. table Click add dynamic edit box in the table

    var $newNode=$("<input type='text' style='width:250px; height:20px; maxlength='20' id='texti ...

  9. java take map Stitching into “ Parameters = value &amp; Parameters = value ”

    Java take Map Stitching into " Parameters = value & Parameters = value " Put one map The key value pairs of are spliced into " Parameters = value & Parameters = value " namely "username=angusbao& ...

  10. boost::tokenizer Detailed explanation

    tokenizer The library provides four predefined word segmentation objects ,  among char_delimiters_separator Have been abandoned . Others are as follows : 1. char_separator char_separator There are two constructions ...