while attempting to run an old react native app on an m1 mac the fully error is given
Loading dependency graph…Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at stableHash (/Users/mac/Documents/work/p2vest/code/P2Vest-App/node_modules/metro-cache/src/stableHash.js:19:8)
at JsTransformer.getCacheKey
at new Transf
(node:internal/process/task_queues:95:5) {
opensslErrorStack: [ ‘error:03000086:digital envelope routines::initialization error’ ],
library: ‘digital envelope routines’,
reason: ‘unsupported’,
code: ‘ERR_OSSL_EVP_UNSUPPORTED’
}
but it runs fine on an intel mac




