This message was deleted.
# community-support
s
This message was deleted.
v
Well, is the keystore file where the build expects it?
p
Copy code
Failed to construct transformer:  Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:133:10)
    at stableHash (/Users/standby/Desktop/MobApp/app/android/node_modules/metro-cache/src/stableHash.js:19:8)
    at Object.getCacheKey (/Users/standby/Desktop/MobApp/app/android/node_modules/metro-transform-worker/src/index.js:647:7)
    at getTransformCacheKey (/Users/standby/Desktop/MobApp/pickrr-app/android/node_modules/metro/src/DeltaBundler/getTransformCacheKey.js:32:19)
    at new Transformer (/Users/standby/Desktop/MobApp/pickrr-app/android/node_modules/metro/src/DeltaBundler/Transformer.js:180:28)
    at /Users/standby/Desktop/MobApp/app/android/node_modules/metro/src/Bundler.js:58:29
    at process.processTicksAndRejections (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'
}
error Cannot read properties of undefined (reading 'transformFile').
TypeError: Cannot read properties of undefined (reading 'transformFile')
    at /Users/standby/Desktop/MobApp/app/android/node_modules/metro/src/Bundler.js:95:34
    at Generator.next (<anonymous>)
    at asyncGeneratorStep (/Users/standby/Desktop/MobApp/pickrr-app/android/node_modules/metro/src/Bundler.js:14:24)
    at _next (/Users/standby/Desktop/MobApp/app/android/node_modules/metro/src/Bundler.js:36:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
info Run CLI with --verbose flag for more details.

> Task :app:bundleReleaseJsAndAssets FAILED
Execution failed for task ':app:bundleReleaseJsAndAssets'.
> Process 'command 'node'' finished with non-zero exit value 1
this type of error is coming when i am tring to create a build using android studio.
v
Well, that has even less to do with Gradle. That Gradle build is calling some Node.js process which is failing.
As I said in the other thread already. 🙂
p
Yes, i have tried it by downgrading the node version but not worked. if you have any suggestion then please provide.