目录

[Node] error:0308010C:digital envelope routines::unsupported

环境

  • Node: v16.20.2

错误日志

Error: error:0308010C:digital envelope routines::unsupported

解决方法

On Unix-like (Linux, macOS, Git bash, etc.)

export NODE_OPTIONS=--openssl-legacy-provider

参考