What is –openssl-legacy-provider in Node.js v17?

Due to changes on Node.js v17, --openssl-legacy-provider was added for handling key size on OpenSSL v3.
You somehow have installed the latest version of node.

  1. Restore your previous version of nodejs.
  2. Go and manually remove the node dependency(e.g. “node”:17.4.3) from package.json
    and packagelock.json.
  3. Delete node_modules folder and use npm install to reinstall node_modules.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)