The error :
soro@soro-hp-notebook:~/Documents/react-native-floating-bubble/testApp$ npm run start
testApp@0.0.1 start
react-native start
┌──────────────────────────────────────────────────────────────────────────────┐
│ │
│ Running Metro Bundler on port 8081. │
│ │
│ Keep Metro running while developing on any JS projects. Feel free to │
│ close this tab and run your own Metro instance if you prefer. │
│ │
│ https://github.com/facebook/react-native │
│ │
└──────────────────────────────────────────────────────────────────────────────┘
Looking for JS files in
/home/soro/Documents/react-native-floating-bubble/testApp
Loading dependency graph, done.
Loading dependency graph...Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at stableHash (/home/soro/Documents/react-native-floating-bubble/testApp/node_modules/metro-cache/src/stableHash.js:19:8)
at JsTransformer.getCacheKey (/home/soro/Documents/react-native-floating-bubble/testApp/node_modules/metro/src/JSTransformer/worker.js:456:7)
at getTransformCacheKey (/home/soro/Documents/react-native-floating-bubble/testApp/node_modules/metro/src/DeltaBundler/Transformer/getTransformCacheKey.js:39:29)
at new Transformer (/home/soro/Documents/react-native-floating-bubble/testApp/node_modules/metro/src/DeltaBundler/Transformer.js:147:28)
at /home/soro/Documents/react-native-floating-bubble/testApp/node_modules/metro/src/Bundler.js:54: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'
}
The error :
soro@soro-hp-notebook:~/Documents/react-native-floating-bubble/testApp$ npm run start
┌──────────────────────────────────────────────────────────────────────────────┐
│ │
│ Running Metro Bundler on port 8081. │
│ │
│ Keep Metro running while developing on any JS projects. Feel free to │
│ close this tab and run your own Metro instance if you prefer. │
│ │
│ https://github.com/facebook/react-native │
│ │
└──────────────────────────────────────────────────────────────────────────────┘
Looking for JS files in
/home/soro/Documents/react-native-floating-bubble/testApp
Loading dependency graph, done.
Loading dependency graph...Failed to construct transformer: Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at stableHash (/home/soro/Documents/react-native-floating-bubble/testApp/node_modules/metro-cache/src/stableHash.js:19:8)
at JsTransformer.getCacheKey (/home/soro/Documents/react-native-floating-bubble/testApp/node_modules/metro/src/JSTransformer/worker.js:456:7)
at getTransformCacheKey (/home/soro/Documents/react-native-floating-bubble/testApp/node_modules/metro/src/DeltaBundler/Transformer/getTransformCacheKey.js:39:29)
at new Transformer (/home/soro/Documents/react-native-floating-bubble/testApp/node_modules/metro/src/DeltaBundler/Transformer.js:147:28)
at /home/soro/Documents/react-native-floating-bubble/testApp/node_modules/metro/src/Bundler.js:54: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'
}