You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlinked from brew brew unlink node
Then cleaned up ca and cafile properties in .npmrc at both project and user level.
now works with just the NODE_EXTRA_CA_CERTS env variable...
Upgraded back to v.20, continues to work post clearing cache forcibly
Issue seems to be when linked to brew.
pradeep-shanmugham
changed the title
[BUG] Unable to install packages | macOS | NODE_EXTRA_CA_CERTS defined, behind ZScaler firewall
[BUG] Unable to install packages w/ brew linked node | macOS | NODE_EXTRA_CA_CERTS defined, behind ZScaler firewall
Jun 13, 2024
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
npm install used to work before, but has stopped working recently, unsure why.
EXTRA_NODE_CA_CERTS
has been defined with a file that has the ZScaler certificate chain as per: https://help.zscaler.com/zia/adding-custom-certificate-application-specific-trust-storecafile
also mentioned innpm config
--strict-ssl=false
on command line / if is set in npm config.Expected Behavior
Able to download packages without supplying
--strict-ssl=false
on command lineSteps To Reproduce
macOS 14.5 (23F79) Sonoma
With environment variable
NODE_EXTRA_CA_CERTS
/Users/pradeep-shanmugham/certs/ZscalerRootCA.pem
Run
npm install @angular/cdk
See error below:
Environment
The text was updated successfully, but these errors were encountered: