strict-ssl warning appears when using download.strictSSL
See original GitHub issueWhen building using cli.js
I am always seeing the warning The strict-ssl parameter is deprecated, use download.strictSSL instead
. I wanted to get rid of it so I checked where and why it was generated. So it seems that in common.js
we check if there is a strict-ssl
option and warn if there is, but in cli.js
we intentionally add that option with a default value.
I am probably missing something, but also this might be an inconsistency. I would be happy to open a PR if it is.
Which version of electron-packager are you using?
7.0.0
What CLI arguments are you passing? Alternatively, if you are using the API, what parameters are you passing to the
packager()
function?
electron-packager client application-name --platform=darwin \
--arch=x64 --out=bin --icon=client/icon.icns \
--ignore="node_modules/electron-*" \
--overwrite
What version of Electron are you building with?
0.37.7
What is the host platform are you running electron-packager on?
darwin
What target platform(s)/architecture(s) are you building for?
darwin
& win32
Is there a stack trace in the error message you’re seeing?
No.
Please provide either a failing testcase or detailed steps to reproduce your problem.
Running electron-packager
with the provided arguments shows the warning.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
For any future commenters: yes, we know it’s reproducible, we’re just waiting on a fix now.
The download being slow is a different issue and unlikely to be related to electron-packager. I would suggest troubleshooting your network connection, in particular to github.com & its CDN.