How to add proxy in the npm configuration ?
Issue
- Add Proxy in the npm configuration for build configuration
E0806 08:23:00.734080 1 sti.go:419] npm info retrynpm info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND
E0806 08:23:00.734126 1 sti.go:419] will retry, error on last attempt: Error: getaddrinfo ENOTFOUND
E0806 08:24:00.785369 1 sti.go:419] npmnpm info trying registry request attempt 3 at 12:24:00
E0806 08:24:00.785411 1 sti.go:419] npm http GET https://registry.npmjs.org/mongodb
E0806 08:24:00.785431 1 sti.go:419] info trying registry request attempt 3 at 12:24:00
E0806 08:24:00.785472 1 sti.go:419] npm http GET https://registry.npmjs.org/mongodb
E0806 08:24:00.786025 1 sti.go:419] npm info trying registry request attempt 3 at 12:24:00
E0806 08:24:00.786041 1 sti.go:419] npm http GET https://registry.npmjs.org/express
E0806 08:24:00.786048 1 sti.go:419] npm info trying registry request attempt 3 at 12:24:00
E0806 08:24:00.786052 1 sti.go:419] npm http GET https://registry.npmjs.org/ejs
E0806 08:24:00.786063 1 sti.go:419] npm info trying registry request attempt 3 at 12:24:00
E0806 08:24:00.786069 1 sti.go:419] npm http GET https://registry.npmjs.org/express
E0806 08:24:00.786074 1 sti.go:419] npm info trying registry request attempt 3 at 12:24:00
E0806 08:24:00.786078 1 sti.go:419] npm http GET https://registry.npmjs.org/ejs
E0806 08:24:40.828338 1 sti.go:419] npmnpm ERR! network getaddrinfo ENOTFOUND
E0806 08:24:40.828357 1 sti.go:419] ERR! network getaddrinfo ENOTFOUND
E0806 08:24:40.828380 1 sti.go:419] npm ERR! network This is most likely not a problem with npm itself
E0806 08:24:40.828402 1 sti.go:419] npm ERR! npm ERR! network This is most likely not a problem with npm itself
E0806 08:24:40.828599 1 sti.go:419] npm ERR! network and is related to network connectivity.
E0806 08:24:40.828680 1 sti.go:419] network and is related to network connectivity.
E0806 08:24:40.828707 1 sti.go:419] npm ERR! network In most cases you are behind a proxy or have bad network settings.
E0806 08:24:40.828715 1 sti.go:419] npm ERR! network
E0806 08:24:40.828729 1 sti.go:419] npm ERR! network If you are behind a proxy, please make sure that the
E0806 08:24:40.828733 1 sti.go:419] npm ERR! network 'proxy' config is set properly. See: 'npm help config'
E0806 08:24:40.828824 1 sti.go:419] npm ERR! network In most cases you are behind a proxy or have bad network settings.
E0806 08:24:40.828837 1 sti.go:419] npm ERR! network
E0806 08:24:40.828841 1 sti.go:419] npm ERR! network If you are behind a proxy, please make sure that the
E0806 08:24:40.828845 1 sti.go:419] npm ERR! network 'proxy' config is set properly. See: 'npm help config'
E0806 08:24:40.828874 1 sti.go:419]
Environment
- Openshift 3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
