Exception:
Error: error:0308010C:digital envelope routines::unsupported
{
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Resolution:
1. Use the LTS version of Node.js

2. Run the following command. This command is for PowerShell.
$env:NODE_OPTIONS = "--openssl-legacy-provider"
3. Include hashFunction: “xxhash64” in the module.exports in webpack.config.js file.
module.exports = {
output: {
hashFunction: "xxhash64"
}
};
Note:
Don’t completely replace your module.exports output attribute value if it already contains other values. Include hashFunction: “xxhash64”.
