Anonymous
Обновление моего Expo с 48 до 51 вызывает проблемы
Сообщение
Anonymous » 13 май 2024, 09:23
Я обновляю свой выставочный проект с выставки 48 до выставки 51 и снова и снова получаю одну и ту же ошибку.
Изображение ошибки
И мой файл package.json после запуска, команда npm install expo@latest и npx expo install --fix
Код: Выделить всё
{
"name": "BelCitiSolSmartLighting",
"version": "1.0.0",
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"@expo-google-fonts/pt-serif": "^0.2.2",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-community/art": "^1.2.0",
"@react-native-community/datetimepicker": "7.7.0",
"@react-native-community/netinfo": "11.3.1",
"@react-native-picker/picker": "2.7.5",
"@react-navigation/bottom-tabs": "^6.3.1",
"@react-navigation/drawer": "^6.4.1",
"@react-navigation/native": "^6.1.6",
"@react-navigation/native-stack": "^6.6.2",
"axios": "^0.27.2",
"axios-auth-refresh": "^3.2.2",
"crypto-js": "^3.1.9-1",
"dotenv": "^16.0.1",
"exceljs": "^4.3.0",
"expo": "~51.0.4",
"expo-app-loading": "~2.0.0",
"expo-barcode-scanner": "~13.0.1",
"expo-build-properties": "~0.12.1",
"expo-camera": "~15.0.7",
"expo-constants": "~16.0.1",
"expo-crypto": "~13.0.2",
"expo-device": "~6.0.2",
"expo-file-system": "~17.0.1",
"expo-image-manipulator": "~12.0.4",
"expo-image-picker": "~15.0.4",
"expo-intent-launcher": "~11.0.1",
"expo-linking": "~6.3.1",
"expo-location": "~17.0.1",
"expo-media-library": "~16.0.3",
"expo-network": "~6.0.1",
"expo-permissions": "~14.1.1",
"expo-screen-orientation": "~7.0.4",
"expo-secure-store": "~13.0.1",
"expo-sharing": "~12.0.1",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"expo-updates": "~0.25.11",
"fs": "0.0.1-security",
"link": "^1.5.1",
"material-icons": "^1.13.10",
"moment": "^2.29.3",
"native-base": "^3.4.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.45.4",
"react-native": "0.74.1",
"react-native-barcode-mask": "^1.2.4",
"react-native-calendars": "^1.1284.0",
"react-native-chart-kit": "^6.12.0",
"react-native-dotenv": "^3.3.1",
"react-native-dropdown-picker": "^5.4.2",
"react-native-elements": "^3.4.2",
"react-native-gesture-handler": "~2.16.1",
"react-native-indicator": "^1.2.2",
"react-native-keychain": "^8.0.0",
"react-native-maps": "1.14.0",
"react-native-material-menu": "^2.0.0",
"react-native-modern-datepicker": "^1.0.0-beta.91",
"react-native-paper": "^4.12.1",
"react-native-permissions": "^3.8.4",
"react-native-popable": "^0.4.3",
"react-native-popup-menu": "^0.15.12",
"react-native-qrcode-scanner": "^1.5.5",
"react-native-radio-buttons-group": "^3.0.3",
"react-native-reanimated": "~3.10.1",
"react-native-redash": "^16.3.0",
"react-native-root-siblings": "^4.1.1",
"react-native-root-toast": "^3.4.0",
"react-native-safe-area-context": "4.10.1",
"react-native-screens": "3.31.1",
"react-native-svg": "15.2.0",
"react-native-walkthrough-tooltip": "^1.3.1",
"react-native-web": "~0.19.10",
"react-navigation": "^4.4.4",
"recharts": "^2.1.9",
"rn-tooltip": "^3.0.1",
"safe-json-stringify": "^1.2.0",
"socket.io-client": "^2.0.4",
"victory-native": "^36.5.0"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@types/crypto-js": "^4.1.1",
"@types/react": "~18.2.79",
"@types/react-native": "~0.67.6",
"@types/react-native-vector-icons": "^6.4.10",
"@types/socket.io-client": "^3.0.0",
"react-native-vector-icons": "^9.2.0",
"typescript": "~5.3.3"
},
"resolutions": {
"@types/react": "~17.0.21",
"@types/react-native": "~0.64.12",
"crypto-js": "3.1.9-1",
"**/crypto-js": "3.1.9-1"
},
"private": true,
"rnpm": {
"assets": [
"./assests/fonts/"
]
}
}
Пожалуйста, предоставьте мне решение.
Кроме того, я удалил пакеты один за другим, чтобы увидеть, в чем проблема, но не нашел решения
Подробнее здесь:
https://stackoverflow.com/questions/784 ... g-problems
1715581411
Anonymous
Я обновляю свой выставочный проект с выставки 48 до выставки 51 и снова и снова получаю одну и ту же ошибку. Изображение ошибки И мой файл package.json после запуска, команда npm install expo@latest и npx expo install --fix [code]{ "name": "BelCitiSolSmartLighting", "version": "1.0.0", "scripts": { "start": "expo start --dev-client", "android": "expo run:android", "ios": "expo run:ios", "web": "expo start --web", "eject": "expo eject" }, "dependencies": { "@expo-google-fonts/pt-serif": "^0.2.2", "@react-native-async-storage/async-storage": "1.23.1", "@react-native-community/art": "^1.2.0", "@react-native-community/datetimepicker": "7.7.0", "@react-native-community/netinfo": "11.3.1", "@react-native-picker/picker": "2.7.5", "@react-navigation/bottom-tabs": "^6.3.1", "@react-navigation/drawer": "^6.4.1", "@react-navigation/native": "^6.1.6", "@react-navigation/native-stack": "^6.6.2", "axios": "^0.27.2", "axios-auth-refresh": "^3.2.2", "crypto-js": "^3.1.9-1", "dotenv": "^16.0.1", "exceljs": "^4.3.0", "expo": "~51.0.4", "expo-app-loading": "~2.0.0", "expo-barcode-scanner": "~13.0.1", "expo-build-properties": "~0.12.1", "expo-camera": "~15.0.7", "expo-constants": "~16.0.1", "expo-crypto": "~13.0.2", "expo-device": "~6.0.2", "expo-file-system": "~17.0.1", "expo-image-manipulator": "~12.0.4", "expo-image-picker": "~15.0.4", "expo-intent-launcher": "~11.0.1", "expo-linking": "~6.3.1", "expo-location": "~17.0.1", "expo-media-library": "~16.0.3", "expo-network": "~6.0.1", "expo-permissions": "~14.1.1", "expo-screen-orientation": "~7.0.4", "expo-secure-store": "~13.0.1", "expo-sharing": "~12.0.1", "expo-splash-screen": "~0.27.4", "expo-status-bar": "~1.12.1", "expo-updates": "~0.25.11", "fs": "0.0.1-security", "link": "^1.5.1", "material-icons": "^1.13.10", "moment": "^2.29.3", "native-base": "^3.4.4", "react": "18.2.0", "react-dom": "18.2.0", "react-hook-form": "^7.45.4", "react-native": "0.74.1", "react-native-barcode-mask": "^1.2.4", "react-native-calendars": "^1.1284.0", "react-native-chart-kit": "^6.12.0", "react-native-dotenv": "^3.3.1", "react-native-dropdown-picker": "^5.4.2", "react-native-elements": "^3.4.2", "react-native-gesture-handler": "~2.16.1", "react-native-indicator": "^1.2.2", "react-native-keychain": "^8.0.0", "react-native-maps": "1.14.0", "react-native-material-menu": "^2.0.0", "react-native-modern-datepicker": "^1.0.0-beta.91", "react-native-paper": "^4.12.1", "react-native-permissions": "^3.8.4", "react-native-popable": "^0.4.3", "react-native-popup-menu": "^0.15.12", "react-native-qrcode-scanner": "^1.5.5", "react-native-radio-buttons-group": "^3.0.3", "react-native-reanimated": "~3.10.1", "react-native-redash": "^16.3.0", "react-native-root-siblings": "^4.1.1", "react-native-root-toast": "^3.4.0", "react-native-safe-area-context": "4.10.1", "react-native-screens": "3.31.1", "react-native-svg": "15.2.0", "react-native-walkthrough-tooltip": "^1.3.1", "react-native-web": "~0.19.10", "react-navigation": "^4.4.4", "recharts": "^2.1.9", "rn-tooltip": "^3.0.1", "safe-json-stringify": "^1.2.0", "socket.io-client": "^2.0.4", "victory-native": "^36.5.0" }, "devDependencies": { "@babel/core": "^7.24.0", "@types/crypto-js": "^4.1.1", "@types/react": "~18.2.79", "@types/react-native": "~0.67.6", "@types/react-native-vector-icons": "^6.4.10", "@types/socket.io-client": "^3.0.0", "react-native-vector-icons": "^9.2.0", "typescript": "~5.3.3" }, "resolutions": { "@types/react": "~17.0.21", "@types/react-native": "~0.64.12", "crypto-js": "3.1.9-1", "**/crypto-js": "3.1.9-1" }, "private": true, "rnpm": { "assets": [ "./assests/fonts/" ] } } [/code] Пожалуйста, предоставьте мне решение. Кроме того, я удалил пакеты один за другим, чтобы увидеть, в чем проблема, но не нашел решения Подробнее здесь: [url]https://stackoverflow.com/questions/78470396/my-expo-upgrade-from-48-to-51-giving-problems[/url]