reactnativecn / react-native-website

React Native 中文网
https://reactnative.cn
MIT License
216 stars 328 forks source link

m1 macbookPro调试ios报错 没动代码 #560

Closed Neo697 closed 2 years ago

Neo697 commented 2 years ago

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:135:10) at stableHash (/Users/domingo/AwesomeProject/node_modules/metro-cache/src/stableHash.js:19:8) at Object.getCacheKey (/Users/domingo/AwesomeProject/node_modules/metro-transform-worker/src/index.js:593:7) at getTransformCacheKey (/Users/domingo/AwesomeProject/node_modules/metro/src/DeltaBundler/getTransformCacheKey.js:24:19) at new Transformer (/Users/domingo/AwesomeProject/node_modules/metro/src/DeltaBundler/Transformer.js:48:9) at /Users/domingo/AwesomeProject/node_modules/metro/src/Bundler.js:22:29 { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' } BUNDLE ./index.js

error: TypeError: Cannot read properties of undefined (reading 'transformFile') at Bundler.transformFile (/Users/domingo/AwesomeProject/node_modules/metro/src/Bundler.js:48:30) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.transform (/Users/domingo/AwesomeProject/node_modules/metro/src/lib/transformHelpers.js:101:12) at async processModule (/Users/domingo/AwesomeProject/node_modules/metro/src/DeltaBundler/traverseDependencies.js:137:18) at async traverseDependenciesForSingleFile (/Users/domingo/AwesomeProject/node_modules/metro/src/DeltaBundler/traverseDependencies.js:131:3) at async Promise.all (index 0) at async initialTraverseDependencies (/Users/domingo/AwesomeProject/node_modules/metro/src/DeltaBundler/traverseDependencies.js:114:3) at async DeltaCalculator._getChangedDependencies (/Users/domingo/AwesomeProject/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:164:25) at async DeltaCalculator.getDelta (/Users/domingo/AwesomeProject/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:94:16) at async DeltaBundler.buildGraph (/Users/domingo/AwesomeProject/node_modules/metro/src/DeltaBundler.js:50:5)

截图

image

github-actions[bot] commented 2 years ago

👋 Hey there, it looks like there has been no activity on this issue in the last 90 days. Has the issue been fixed, or does it still require the community attention? This issue will be closed in the next 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 2 years ago

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.