Using NPM behind proxy

Config NPM behind proxy by config and proxy or https-proxy:


npm config set proxy http://proxy.company.com:8080 npm config set https-proxy http://proxy.company.com:8080


If you want to specify the credential, they can passed by the following URL syntax:

http://username:password@proxy.company.com:8080




留言

這個網誌中的熱門文章

Disable ionic's sidemenu content drag to toggle menu

Multiple writable mappings exist for the field. Only one may be defined as writable, all others must be specified read-only.

java.lang.NoClassDefFoundError: org/apache/xerces/jaxp/datatype/XMLGregorianCalendarImpl$Parser