QUICK FIX
You can try downgrade the version. But as a quick fix you can do the below options.
On Unix-like (Linux, macOS, Git bash, etc.):
export NODE_OPTIONS=--openssl-legacy-provider
On Windows command prompt:
set NODE_OPTIONS=--openssl-legacy-provider
On PowerShell:
$env:NODE_OPTIONS = "--openssl-legacy-provider"
参考资料
- https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
- stackoverflow.com/questions/72866798/node-openssl-legacy-provider-is-not-allowed-in-node-options
- https://github.com/expo/expo-cli/issues/4619