Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Source: https://stackoverflow.com/questions/42918916/npm-install-openssl-failed-on-windows-10
- As mentionned by Royi Mindel the npm openssl package is just a wrapper around the openssl binaries and not the actual openssl. You need to install openssl on your Windows 10 machine as follows:
- 1) Download the binaries from https://code.google.com/archive/p/openssl-for-windows/downloads
- 2) Extract to C:\OpenSSL-Win32\ (or whatever name you want to give it).
- 3) Add the system environment variable OPENSSL_CONF with value c:\OpenSSL-Win32\openssl.cnf (points to the config file where you extrated the binaries)
- 4) Add C:\OpenSSL-Win32\bin to your Path environment variable
- 5) Open a cmd or PowerShell and type openssl version. It should work and you should see the version installed
- // Info taken from: https://www.tbs-certificates.co.uk/FAQ/en/openssl-windows.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement