小编Iro*_*n42的帖子

反应本机错误:0308010C:数字信封例程::不支持

我不断收到 ERR_OSSL_EVP_UNSUPPORTED 错误,我在互联网上做了一些研究,我按照所说的做了,但错误没有得到修复,可能是什么原因?json.package如下。

{


"name": "intelijReactNative",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "build": "react-scripts --openssl-legacy-provider build",
    "start": "react-scripts --openssl-legacy-provider start",
    "test": "jest",
    "lint": "eslint ."
  },
  "dependencies": {
    "react": "17.0.2",
    "react-native": "0.66.3"
  },
  "devDependencies": {
    "@babel/core": "7.16.0",
    "@babel/runtime": "7.16.3",
    "@react-native-community/eslint-config": "2.0.0",
    "babel-jest": "26.6.3",
    "eslint": "7.14.0",
    "jest": "26.6.3",
    "metro-react-native-babel-preset": "0.66.2",
    "react-test-renderer": "17.0.2"
  },
  "jest": {
    "preset": "react-native"
  }
Run Code Online (Sandbox Code Playgroud)

错误如下

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:130:10)
    at …
Run Code Online (Sandbox Code Playgroud)

android node.js react-native

9
推荐指数
1
解决办法
2万
查看次数

标签 统计

android ×1

node.js ×1

react-native ×1