Reason: node version is too high
Solution:
Enter the command on the command line to modify the environment variable: $env:NODE_OPTIONS="--openssl-legacy-provider"
Then execute: npm run serve
Reason: node version is too high
Solution:
Enter the command on the command line to modify the environment variable: $env:NODE_OPTIONS="--openssl-legacy-provider"
Then execute: npm run serve