Hi all:
With my team we made the upgrade from expo 44 to expo 46 for a mobile app, the stand alone build it’s working fine for both platforms (iOS and Android) and also the developmentClient=True
for Android it’s working, but for iOS (developmentClient=True
) we are getting the following error:
None of these files exist:
* node_modules/react-native/Libraries/Components/DatePicker/DatePickerIOS(.native|.native.ts|.ts|.native.tsx|.tsx|.native.js|.js|.native.jsx|.jsx|.native.json|.json)
* node_modules/react-native/Libraries/Components/DatePicker/DatePickerIOS/index(.native|.native.ts|.ts|.native.tsx|.tsx|.native.js|.js|.native.jsx|.jsx|.native.json|.json)
At the file: import typeof DatePickerIOS from './Libraries/Components/DatePicker/DatePickerIOS';
.
It’s a bare project, and we are using eas to build the artifacts.
Here is the package.json
:
{
"name": "xxx",
"version": "1.0.0",
"description": "ds",
"scripts": {
...
},
"engines": {
"node": ">= 14.15.1 <= 14.19.4"
},
"jest": {
"preset": "jest-expo",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"testMatch": [
"**/*.(test|spec).(ts|tsx)"
],
"globals": {
"ts-jest": {
"babelConfig": true
}
}
},
"dependencies": {
"@apollo/client": "3.2.4",
"@aws-amplify/auth": "3.4.15",
"@aws-amplify/cache": "3.1.40",
"@aws-amplify/core": "3.8.7",
"@aws-amplify/datastore": "2.9.1",
"@aws-amplify/storage": "3.3.15",
"@aws-sdk/client-rekognition": "^3.12.0",
"@config-plugins/react-native-branch": "^0.0.1",
"@expo/react-native-action-sheet": "^3.8.0",
"@expo/vector-icons": "^13.0.0",
"@react-native-async-storage/async-storage": "~1.17.3",
"@react-native-community/datetimepicker": "6.2.0",
"@react-native-community/masked-view": "0.1.10",
"@react-native-community/netinfo": "9.3.0",
"@react-navigation/bottom-tabs": "^5.8.0",
"@react-navigation/native": "^5.7.3",
"@react-navigation/stack": "^5.9.0",
"@turf/turf": "^6.3.0",
"amazon-cognito-identity-js": "^4.5.5",
"card-validator": "^8.1.0",
"expo": "^46.0.0",
"expo-analytics-segment": "~11.2.1",
"expo-app-loading": "~2.1.0",
"expo-application": "~4.2.2",
"expo-asset": "~8.6.1",
"expo-av": "~12.0.4",
"expo-calendar": "~10.3.0",
"expo-constants": "~13.2.4",
"expo-dev-client": "~1.3.1",
"expo-device": "~4.3.0",
"expo-facebook": "~12.2.0",
"expo-file-system": "~14.1.0",
"expo-firebase-analytics": "~7.2.0",
"expo-font": "~10.2.0",
"expo-image-manipulator": "~10.4.0",
"expo-image-picker": "~13.3.1",
"expo-intent-launcher": "~10.3.0",
"expo-keep-awake": "~10.2.0",
"expo-linear-gradient": "~11.4.0",
"expo-linking": "~3.2.2",
"expo-location": "~14.3.0",
"expo-network": "~4.3.0",
"expo-permissions": "~13.2.0",
"expo-sms": "~10.2.0",
"expo-splash-screen": "~0.16.2",
"expo-status-bar": "~1.4.0",
"expo-tracking-transparency": "~2.3.1",
"expo-updates": "~0.14.7",
"expo-web-browser": "~11.0.0",
"formik": "^2.2.5",
"graphql": "14.0.0",
"graphql-tag": "^2.11.0",
"lottie-react-native": "5.1.3",
"moment": "^2.29.1",
"moment-timezone": "^0.5.33",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-native": "0.69.6",
"react-native-branch": "^5.4.0",
"react-native-collapsible": "^1.5.3",
"react-native-gesture-handler": "~2.5.0",
"react-native-get-random-values": "~1.8.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-map-link": "^2.7.25",
"react-native-maps": "0.31.1",
"react-native-masked-text": "^1.13.0",
"react-native-reanimated": "~2.9.1",
"react-native-responsive-linechart": "^5.7.1",
"react-native-safe-area-context": "4.3.1",
"react-native-screens": "~3.15.0",
"react-native-size-matters": "^0.3.1",
"react-native-snap-carousel": "^3.9.1",
"react-native-svg": "12.3.0",
"react-native-toast-message": "^1.4.2",
"react-native-vector-icons": "^7.1.0",
"react-native-web": "~0.18.7",
"react-native-webview": "11.23.0",
"reanimated-bottom-sheet": "^1.0.0-alpha.22",
"rn-range-slider": "https://github.com/nahu/rn-range-slider.git",
"rxjs": "^6.6.3",
"sentry-expo": "~5.0.0",
"socket.io-client": "^4.2.0",
"subscriptions-transport-ws": "^0.9.18",
"toggle-switch-react-native": "^2.3.0",
"yup": "^0.31.1"
},
"resolutions": {
"graphql": "14.0.0",
"**/graphql": "14.0.0",
"@apollo/client/**/graphql": "14.0.0"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@testing-library/react-native": "^7.1.0",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.9",
"@types/react": "~18.0.0",
"@types/react-native": "~0.69.1",
"@types/react-test-renderer": "^17.0.0",
"@types/yup": "^0.29.10",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"babel-plugin-graphql-tag": "^3.1.0",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"babel-preset-react-native": "^4.0.1",
"deprecated-react-native-prop-types": "^4.0.0",
"eslint": "^7.13.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-typescript": "^12.0.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-react-native": "^3.10.0",
"eslint-plugin-react-native-a11y": "^2.0.3",
"husky": "^4.3.0",
"jest": "^26.6.3",
"jest-expo": "^46.0.0",
"lint-staged": "^10.5.1",
"metro-react-native-babel-preset": "^0.65.2",
"prettier": "^2.2.0",
"prettier-eslint": "^12.0.0",
"prop-types": "^15.7.2",
"react-native-dotenv": "^2.5.3",
"react-test-renderer": "16.13.1",
"ts-jest": "^26.4.4",
"typescript": "^4.6.3"
},
"private": true,
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,md}": [
"prettier --write",
"git add"
],
"*{js,jsx,ts,tsx}": [
"eslint --ext .ts,.tsx"
]
}
}
Here is the output of my eas diagnostics:
EAS CLI 3.9.3 environment info:
System:
OS: Linux 5.15 Ubuntu 20.04.4 LTS (Focal Fossa)
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 14.15.1 - /usr/bin/node
Yarn: 1.22.18 - /usr/bin/yarn
npm: 6.14.8 - /usr/bin/npm
Utilities:
Git: 2.25.1 - /usr/bin/git
npmPackages:
expo: ^46.0.0 => 46.0.17
expo-dev-client: ~1.3.1 => 1.3.1
expo-updates: ~0.14.7 => 0.14.7
react: 18.0.0 => 18.0.0
react-dom: 18.0.0 => 18.0.0
react-native: 0.69.9 => 0.69.9
react-native-web: ~0.18.7 => 0.18.10
npmGlobalPackages:
eas-cli: 3.9.3
expo-cli: 6.3.2
Project workflow: generic
Thanks in advance.