Apparently, there have been some breaking node.js changes since this code was last updated, and it is no longer to compile it in the current version (21.x):
videojs-hlsjs-plugin/node_modules/loader-runner/lib/LoaderRunner.js:133
if(isError) throw e;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (/Users/dg/HLS/videojs-hlsjs-plugin/node_modules/webpack/lib/util/createHash.js:90:53)
...
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Apparently, there have been some breaking node.js changes since this code was last updated, and it is no longer to compile it in the current version (21.x):