Wednesday, February 7, 2024
HomeiOS Developmentreactjs - React native expo construct failed for IOS

reactjs – React native expo construct failed for IOS


I’m attempting to make a construct for IOS in XCode react native expo however I get error whereas constructing. Getting Error: error:0308010C:digital envelope routines::unsupported.
I’ve searched alot however unable to seek out any passable reply.

 case "$PLATFORM_NAME" in
+ BUNDLE_PLATFORM=ios
+ EMIT_SOURCEMAP=
+ [[ ! -z '' ]]
+ PACKAGER_SOURCEMAP_FILE=
+ [[ '' == true ]]
+ node /Customers/geekybugs/Paperwork/wineish/node_modules/react-native/cli.js bundle --entry-file index.js --platform ios --dev false --reset-cache --bundle-output /Customers/geekybugs/Library/Developer/Xcode/DerivedData/wineish-aevcgwlevyjxsbcpioftvxszdyoo/Construct/Intermediates.noindex/ArchiveIntermediates/wineish/BuildProductsPath/Launch-iphoneos/essential.jsbundle --assets-dest /Customers/geekybugs/Library/Developer/Xcode/DerivedData/wineish-aevcgwlevyjxsbcpioftvxszdyoo/Construct/Intermediates.noindex/ArchiveIntermediates/wineish/BuildProductsPath/Launch-iphoneos/wineish.app
warning: the rework cache was reset.
                    Welcome to Metro!
              Quick - Scalable - Built-in


watchman warning:  Recrawled this watch 3 instances, most not too long ago as a result of:
MustScanSubDirs UserDroppedTo resolve, please evaluate the data on
https://fb.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Customers/geekybugs/Paperwork/wineish' ; watchman watch-project '/Customers/geekybugs/Paperwork/wineish'`

Recrawled this watch 3 instances, most not too long ago as a result of:
MustScanSubDirs UserDroppedTo resolve, please evaluate the data on
https://fb.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Customers/geekybugs/Paperwork/wineish' ; watchman watch-project '/Customers/geekybugs/Paperwork/wineish'`

Did not assemble transformer:  Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:inside/crypto/hash:68:19)
    at Object.createHash (node:crypto:138:10)
    at stableHash (/Customers/geekybugs/Paperwork/wineish/node_modules/metro-cache/src/stableHash.js:19:8)
    at Object.getCacheKey (/Customers/geekybugs/Paperwork/wineish/node_modules/metro-transform-worker/src/index.js:647:7)
    at getTransformCacheKey (/Customers/geekybugs/Paperwork/wineish/node_modules/metro/src/DeltaBundler/getTransformCacheKey.js:32:19)
    at new Transformer (/Customers/geekybugs/Paperwork/wineish/node_modules/metro/src/DeltaBundler/Transformer.js:180:28)
    at /Customers/geekybugs/Paperwork/wineish/node_modules/metro/src/Bundler.js:58:29
    at course of.processTicksAndRejections (node:inside/course of/task_queues:95:5) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  purpose: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
error Can not learn properties of undefined (studying 'transformFile').
TypeError: Can not learn properties of undefined (studying 'transformFile')
    at /Customers/geekybugs/Paperwork/wineish/node_modules/metro/src/Bundler.js:95:34
    at Generator.subsequent (<nameless>)
    at asyncGeneratorStep (/Customers/geekybugs/Paperwork/wineish/node_modules/metro/src/Bundler.js:14:24)
    at _next (/Customers/geekybugs/Paperwork/wineish/node_modules/metro/src/Bundler.js:36:9)
    at course of.processTicksAndRejections (node:inside/course of/task_queues:95:5)
information Run CLI with --verbose flag for extra particulars.

I need to perceive what’s the essential explanation for this construct fail.
That is my bundle.json file.

{
  "scripts": {
    "begin": "export NODE_OPTIONS=--openssl-legacy-provider && webpack serve",
    "construct": "export SET NODE_OPTIONS=--openssl-legacy-provider && react-scripts construct",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "internet": "expo begin --web",
    "eject": "expo eject",
    "lint": "eslint .",
    "bundle:ios": "react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/essential.jsbundle --assets-dest ios",
    "postinstall": "patch-package"
  },
  "dependencies": {
    "@cometchat-pro/react-native-chat": "3.0.2",
    "@eva-design/eva": "^2.0.0",
    "@expo/vector-icons": "^12.0.5",
    "@react-native-async-storage/async-storage": "~1.15.0",
    "@react-native-community/masked-view": "0.1.10",
    "@react-native-community/netinfo": "^8.1.0",
    "@react-native-community/slider": "4.1.12",
    "@react-navigation/bottom-tabs": "^5.11.2",
    "@react-navigation/drawer": "^5.11.4",
    "@react-navigation/native": "^5.8.10",
    "@react-navigation/stack": "^5.12.8",
    "@ui-kitten/elements": "^5.0.0",
    "@ui-kitten/eva-icons": "^5.0.0",
    "api": "^6.1.1",
    "axios": "^0.21.1",
    "crypto": "^1.0.1",
    "expo": "^44.0.0",
    "expo-ads-admob": "~12.0.0",
    "expo-av": "~10.2.0",
    "expo-calendar": "~10.1.0",
    "expo-device": "^4.2.0",
    "expo-image-picker": "~12.0.1",
    "expo-linear-gradient": "~11.0.3",
    "expo-splash-screen": "~0.14.1",
    "expo-status-bar": "~1.2.0",
    "firebase": "^9.12.1",
    "formik": "^2.2.6",
    "set up": "^0.13.0",
    "mobx": "^6.3.0",
    "mobx-react-lite": "^3.2.0",
    "mobx-state-tree": "^5.0.1",
    "second": "^2.29.1",
    "patch-package": "^8.0.0",
    "react": "17.0.1",
    "react-dom": "17.0.1",
    "react-native": "0.64.3",
    "react-native-animatable": "^1.3.3",
    "react-native-app-intro-slider": "^4.0.4",
    "react-native-awesome-alerts": "^1.5.2",
    "react-native-gesture-handler": "~2.1.0",
    "react-native-grid-image-viewer": "^1.0.6",
    "react-native-keyboard-aware-scroll-view": "^0.9.3",
    "react-native-linear-gradient": "^2.7.3",
    "react-native-modalize": "^2.1.1",
    "react-native-pager-view": "5.4.9",
    "react-native-paper": "^5.9.1",
    "react-native-phone-call": "^1.2.0",
    "react-native-portalize": "^1.0.7",
    "react-native-ratings": "^8.0.3",
    "react-native-reanimated": "~2.3.1",
    "react-native-render-html": "^6.3.3",
    "react-native-safe-area-context": "3.3.2",
    "react-native-screens": "~3.10.1",
    "react-native-shimmer-placeholder": "^2.0.9",
    "react-native-svg": "12.1.1",
    "react-native-web": "0.17.1",
    "react-native-webview": "^11.23.0",
    "react-native-youtube-iframe": "^2.2.2",
    "react-scripts": "^5.0.2",
    "styled-components": "^5.2.1",
    "yup": "^0.32.9"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "babel-preset-expo": "9.0.2",
    "eslint": "^6.8.0",
    "eslint-config-handlebarlabs": "^0.0.4",
    "prettier": "^1.19.1"
  },
  "non-public": true,
  "identify": "wineish",
  "model": "1.6.0"
}



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments