1. 现象:
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
2.解决方法
2.1 在packet.json中添加
set NODE_OPTIONS=--openssl-legacy-provider
#比如
"dev": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
方法2: