![Fixing “node: –openssl-legacy-provider is not allowed in node_options” error](https://www.wisdomgeek.com/wp-content/uploads/2018/06/es6-modules-nodejs-520x293.jpg.webp)
Fixing “node: –openssl-legacy-provider is not allowed in node_options” error
I recently ran into the “node: –openssl-legacy-provider is not allowed in node_options” error while working with Node 17. It occurs when the NODE_OPTIONS environment variable is set with the value –openssl-legacy-provider. I had set that value for another project I tried recently, which conflicted with this project. Fixing the “node:...