Troubleshooting OpenSSL on Windows and MacOS

Every so often, after a reboot most likely, I can't npm run watch or npm run build, I get some error about ssl. Off to StackOverflow!

https://stackoverflow.com/a/69746937/128532 says to run this command export NODE_OPTIONS=--openssl-legacy-provider but sometimes I'm on windows, so that's not the right command. We have to keep digging.

The solution on windows (also from https://stackoverflow.com/a/67282152/128532) is to use set - set "NODE_OPTIONS=--openssl-legacy-provider"