Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy disable strict-ssl #39

Closed
yingtho opened this issue Oct 10, 2018 · 1 comment
Closed

Proxy disable strict-ssl #39

yingtho opened this issue Oct 10, 2018 · 1 comment

Comments

@yingtho
Copy link

yingtho commented Oct 10, 2018

I run:
install-peerdeps --dev eslint-config-airbnb -p http://proxy:8080
But because our certificate on our proxy is old i get error:
ERR Error: unable to get local issuer certificate
I would like to disbale the check on ssl like you can do in npm with:
npm config set strict-ssl false

@nathanhleung
Copy link
Owner

Hi, thank you for your patience with regard to this issue. This should be fixed in the latest release (v1.10.0). You may now use the --extra-args flag to pass extra arguments to npm, which you can use to set config options as described in the npm docs.

Example:

install-peerdeps --dev eslint-config-airbnb -p http://proxy:8080 --extra-args "--strict-ssl false"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants