Reason: the version of node is higher than 16, the version of the project is not higher than 16, and OpenSSL is updated after node17.
Solution:
Method 1:
Modify the environment variable at the command line: $env:NODE_OPTIONS="--openssl-legacy-provider"
In the start project: yarn start
Method 2.
Use nvm to modify the node to a version no higher than 16