opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED'
原因:node版本与openssl 不兼容导致的初始化失败
解决:
windows执行:set NODE_OPTIONS=--openssl-legacy-provider
mac执行:export NODE_OPTIONS=--openssl-legacy-provider