cmd或终端执行:export NODE_OPTIONS=--openssl-legacy-provider
新建一个系统环境变量配置,配置信息如下:
NODE_OPTIONS --openssl-legacy-provider