facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
119.21k stars 24.33k forks source link

Facing issue in running React native project in VS code in Mac m1 2021 #32562

Closed nkscode closed 2 years ago

nkscode commented 3 years ago

Description

Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65.

Package.json : --- { "name": "MissionMobileApp", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "web": "react-scripts start", "start": "react-native start", "test": "jest", "lint": "eslint ." }, "dependencies": { "@babel/plugin-transform-modules-commonjs": "^7.12.13", "@react-native-community/cookies": "^2.0.9", "@react-native-community/datetimepicker": "^2.3.2", "@react-native-community/masked-view": "^0.1.10", "@react-native-community/netinfo": "^5.9.10", "@react-navigation/drawer": "^5.7.5", "@react-navigation/native": "^5.4.0", "@react-navigation/stack": "^5.3.7", "@webpack-cli/init": "^1.1.3", "axios": "^0.19.2", "formik": "^2.1.4", "moment": "^2.26.0", "react": "16.13.1", "react-dom": "^17.0.1", "react-localization": "^1.0.15", "react-native": "^0.66.1", "react-native-gesture-handler": "^1.6.1", "react-native-linear-gradient": "^2.5.6", "react-native-localization": "^2.1.6", "react-native-material-dropdown-v2": "github:iJimmyWei/react-native-material-dropdown", "react-native-modal-datetime-picker": "^8.5.4", "react-native-paper": "^3.9.0", "react-native-reanimated": "^1.8.0", "react-native-safe-area-context": "^3.1.9", "react-native-screens": "^2.7.0", "react-native-search-filter": "^0.1.5", "react-native-select-multiple": "^2.1.0", "react-native-share": "^3.7.0", "react-native-step-indicator": "0.0.11", "react-native-svg": "^12.1.0", "react-native-switch-selector": "^2.0.4", "react-native-vector-icons": "^8.0.0", "react-native-web": "^0.14.13", "react-native-web-linear-gradient": "^1.1.1", "react-redux": "^7.2.0", "redux": "^4.0.5", "yarn": "^1.22.17", "yup": "^0.28.5" }, "devDependencies": { "@babel/core": "^7.12.16", "@babel/plugin-proposal-class-properties": "^7.12.13", "@babel/plugin-proposal-object-rest-spread": "^7.12.13", "@babel/plugin-syntax-class-properties": "^7.12.13", "@babel/plugin-syntax-jsx": "^7.12.13", "@babel/plugin-transform-runtime": "^7.12.15", "@babel/preset-env": "^7.12.16", "@babel/preset-flow": "^7.12.13", "@babel/preset-react": "^7.12.13", "@babel/preset-typescript": "^7.12.16", "@babel/runtime": "^7.8.4", "@react-native-community/eslint-config": "^1.1.0", "babel-jest": "^26.6.0", "babel-loader": "8.1.0", "babel-plugin-module-resolver": "^4.1.0", "babel-plugin-syntax-dynamic-import": "^6.18.0", "eslint": "^7.11.0", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.1.0", "jest": "26.6.0", "metro-react-native-babel-preset": "^0.59.0", "prettier": "2.0.2", "react-scripts": "^4.0.2", "react-test-renderer": "16.13.1", "webpack": "4.44.2", "webpack-cli": "3.3.8", "webpack-dev-server": "3.11.0" }, "jest": { "preset": "react-native" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } }

linked framework : -

react-native-cookies, RNDateTimePicker, RNCMaskedView, react-native-netinfo, RNGestureHandler, BVLinearGradient, ReactNativeLocalization, RNReanimated, react-native-safe-area-context, RNScreens, RNShare, RNSVG, RNVectorIcons

Version

0.66.1

Output of react-native info

Specify configs in the ini-formatted file: /Users/dcdynamite/.npmrc or on the command line via: npm --key value Config info can be viewed via: npm help config

npm@6.14.15 /usr/local/lib/node_modules/npm

Steps to reproduce

npx react-native run-ios

Snack, code example, screenshot, or link to a repository

No response

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 2 years ago

This issue was closed because it has been stalled for 7 days with no activity.