javascript-tutorial/server

`edit.cmd fa` fails: node: --openssl-legacy-provider is not allowed in NODE_OPTIONS

Closed this issue · 4 comments

So I followed the instructions in readme.md, the following command

edit.cmd fa

leads to the following:

D:\js\server>call gulp edit   | bunyan
node: --openssl-legacy-provider is not allowed in NODE_OPTIONS
node: --openssl-legacy-provider is not allowed in NODE_OPTIONS

D:\js\server>goto :eof

I tried solving it:

set NODE_OPTIONS=

but the value of NODE_OPTIONS resets everytime.
any ideas?

just comment out or remove the NODE_OPTIONS line in edit file and rerun it.

just comment out or remove the NODE_OPTIONS line in edit file and rerun it.

did not work

just comment out or remove the NODE_OPTIONS line in edit file and rerun it.

did work for me

Fixed.