mac 再运行Ant Design Pro项目时,提示如下错误:
yarn run v1.22.19
$ SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve
/bin/sh: SET: command not found
error Command failed with exit code 127.

mac 再运行Ant Design Pro项目时,提示如下错误:
yarn run v1.22.19
$ SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve
/bin/sh: SET: command not found
error Command failed with exit code 127.

尝试用下面这个命令来设置NODE_OPTIONS环境变量:
export NODE_OPTIONS=--openssl-legacy-provider
然后再次运行Ant Design Pro项目,看看是否能够成功运行了。