Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error after adding this package #361

Closed
jainkn202 opened this issue Feb 8, 2024 · 2 comments
Closed

Build error after adding this package #361

jainkn202 opened this issue Feb 8, 2024 · 2 comments
Labels

Comments

@jainkn202
Copy link

If this package is not added its building fine , the moment this package added build issue is coming
image

Complete Package.json

{
"name": "Ppr",
"version": "1.0.0",
"private": true,
"main": "index.js",
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios'",
"start": "react-native start",
"test": "jest",
"lint": "eslint .",
"postinstall": "react-native setup-ios-permissions && pod-install"
},
"dependencies": {
"@react-native-async-storage/async-storage": "^1.18.1",
"@react-native-community/cli-platform-android": "^12.3.0",
"@react-native-community/cli-platform-ios": "^12.1.1",
"@react-native-community/datetimepicker": "^7.1.0",
"@react-native-community/masked-view": "^0.1.11",
"@react-native-firebase/app": "^17.5.0",
"@react-native-firebase/crashlytics": "^17.5.0",
"@react-native-firebase/perf": "^17.5.0",
"@react-navigation/bottom-tabs": "^6.5.7",
"@react-navigation/native": "^6.1.6",
"@react-navigation/stack": "^6.3.16",
"accordion-collapse-react-native": "^1.1.1",
"axios": "^1.4.0",
"deprecated-react-native-prop-types": "^4.1.0",
"i18next": "^22.5.0",
"lodash": "^4.17.21",
"mqtt": "^5.0.3",
"native-base": "^3.4.28",
"prop-types": "^15.8.1",
"react": "18.1.0",
"react_native_mqtt": "github:Onemind-Services-LLC/react-native-mqtt",
"react-i18next": "^12.3.1",
"react-native": "^0.70.9",
"react-native-bootsplash": "^5.2.0",
"react-native-camera": "^4.2.1",
"react-native-dotenv": "^3.4.8",
"react-native-elements": "^3.4.3",
"react-native-fast-image": "^8.6.3",
"react-native-geocoding": "^0.5.0",
"react-native-gesture-handler": "^2.14.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-maps": "^1.7.1",
"react-native-modal": "^13.0.1",
"react-native-modal-dropdown": "^1.0.2",
"react-native-modalbox": "^2.0.2",
"react-native-multiple-select": "^0.5.12",
"react-native-otp-textinput": "^1.0.1",
"react-native-permissions": "^3.8.0",
"react-native-popable": "^0.4.3",
"react-native-progress": "^5.0.0",
"react-native-qrcode-scanner": "^1.5.5",
"react-native-reanimated": "^3.2.0",
"react-native-responsive-screen": "^1.4.2",
"react-native-safe-area-context": "^4.5.3",
"react-native-screens": "^3.20.0",
"react-native-shadow-2": "^7.0.8",
"react-native-snap-carousel": "^3.9.1",
"react-native-svg": "^13.9.0",
"react-native-swiper": "^1.6.0",
"react-native-toast-message": "^2.1.6",
"react-native-vector-icons": "^9.2.0",
"react-native-wifi-reborn": "^4.10.1",
"react-promise-tracker": "^2.1.1",
"react-redux": "^8.0.7",
"redux": "^4.2.1",
"redux-persist": "^6.0.0",
"redux-saga": "^1.2.3",
"reselect": "^4.1.8",
"sharp": "^0.32.1",
"styled-components": "^5.3.11",
"styled-system": "^5.1.5"
},
"reactNativePermissionsIOS": [
"AppTrackingTransparency",
"Camera",
"MediaLibrary",
"Notifications",
"PhotoLibrary",
"PhotoLibraryAddOnly"
],
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"babel-jest": "^26.6.3",
"eslint": "^7.32.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "0.72.3",
"patch-package": "^7.0.0",
"pod-install": "0.1.38",
"react-test-renderer": "18.1.0"
},
"resolutions": {
"react-native-permissions": "^3.8.0"
},
"overrides": {
"react-native-qrcode-scanner": {
"react-native-permissions": "^3.8.0"
}
},
"jest": {
"preset": "react-native",
"testPathIgnorePatterns": [
"/node_modules/"
],
"moduleNameMapper": {
"module_name_(.*)": "/node_modules/react-native-responsive-screen"
},
"moduleFileExtensions": [
"js",
"json",
"jsx",
"ts",
"tsx",
"json"
],
"transform": {
"^.+\.[t|j]sx?$": "babel-jest"
}
}
}

@DavideViolante
Copy link
Contributor

Maybe you need react-native 0.73 or higher in the package.json

Copy link

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community attention? This issue may be closed if no further activity occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants