telerik / mobile-cli-lib

Contains common infrastructure for CLIs - mainly AppBuilder, NativeScript, DDB and Proton.
Apache License 2.0
11 stars 10 forks source link

Fix proxy usage on macOS and Linux and fix using npm proxy #933

Closed rosen-vladimirov closed 7 years ago

rosen-vladimirov commented 7 years ago

Fix using proxy on macOS and Linux - the getCredentials method should not fail - it should return null on OSes that are not supported. Fix using npm proxy - CLI automatically detects the proxy and uses it for calls to npm registry. However we have not set the rejectUnauthorized variable and all requests to our internal npm proxy were failing. So in such cases set the rejectUnauthorized to the value of strict-ssl npm config variable.

justcodebuilduser commented 7 years ago

:heart:

justcodebuilduser commented 7 years ago

:heart:

ndinev commented 7 years ago

👍