MMKV error
#335
-
I got that error when i run this is my package.json {
"name": "boowme-expo",
"version": "0.0.1",
"private": true,
"main": "expo-router/entry",
"scripts": {
"start": "cross-env EXPO_NO_DOTENV=1 expo start",
"prebuild": "cross-env EXPO_NO_DOTENV=1 pnpm expo prebuild",
"android": "cross-env EXPO_NO_DOTENV=1 expo run:android",
"ios": "cross-env EXPO_NO_DOTENV=1 expo run:ios",
"doctor": "npx expo-doctor@latest",
"preinstall": "npx only-allow pnpm",
"start:staging": "cross-env APP_ENV=staging pnpm run start",
"prebuild:staging": "cross-env APP_ENV=staging pnpm run prebuild",
"android:staging": "cross-env APP_ENV=staging pnpm run android",
"ios:staging": "cross-env APP_ENV=staging pnpm run ios",
"start:production": "cross-env APP_ENV=production pnpm run start",
"prebuild:production": "cross-env APP_ENV=production pnpm run prebuild",
"android:production": "cross-env APP_ENV=production pnpm run android",
"ios:production": "cross-env APP_ENV=production pnpm run ios",
"build:development:ios": "cross-env APP_ENV=development EXPO_NO_DOTENV=1 eas build --profile development --platform ios",
"build:development:android": "cross-env APP_ENV=development EXPO_NO_DOTENV=1 eas build --profile development --platform android ",
"build:staging:ios": "cross-env APP_ENV=staging EXPO_NO_DOTENV=1 eas build --profile staging --platform ios",
"build:staging:android": "cross-env APP_ENV=staging EXPO_NO_DOTENV=1 eas build --profile staging --platform android ",
"build:production:ios": "cross-env APP_ENV=production EXPO_NO_DOTENV=1 eas build --profile production --platform ios",
"build:production:android": "cross-env APP_ENV=production EXPO_NO_DOTENV=1 eas build --profile production --platform android ",
"postinstall": "husky install",
"app-release": "cross-env SKIP_BRANCH_PROTECTION=true np --no-publish --no-cleanup --no-release-draft",
"version": "pnpm run prebuild && git add .",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"type-check": "tsc --noemit",
"lint:translations": "eslint ./src/translations/ --fix --ext .json ",
"test": "jest",
"test:ci": "pnpm run test --coverage",
"test:watch": "pnpm run test --watch",
"install-maestro": "curl -Ls 'https://get.maestro.mobile.dev' | bash",
"e2e-test": "maestro test .maestro/ -e APP_ID=com.boowme.development"
},
"dependencies": {
"@expo/metro-runtime": "^3.2.1",
"@gorhom/bottom-sheet": "^4.6.3",
"@hookform/resolvers": "^2.9.11",
"@react-native-firebase/app": "^20.1.0",
"@react-native-firebase/firestore": "^20.1.0",
"@react-navigation/bottom-tabs": "^6.5.20",
"@react-navigation/native": "^6.1.17",
"@react-navigation/native-stack": "^6.9.26",
"@shopify/flash-list": "1.6.4",
"@tanstack/react-query": "^5.37.1",
"app-icon-badge": "^0.0.15",
"axios": "^1.7.1",
"expo": "~51.0.20",
"expo-apple-authentication": "^6.4.1",
"expo-build-properties": "~0.12.3",
"expo-constants": "~16.0.2",
"expo-dev-client": "~4.0.20",
"expo-font": "~12.0.8",
"expo-image": "~1.12.12",
"expo-linking": "~6.3.1",
"expo-localization": "~15.0.3",
"expo-router": "~3.5.18",
"expo-splash-screen": "0.27.5",
"expo-status-bar": "~1.12.1",
"expo-system-ui": "~3.0.7",
"i18next": "^22.5.1",
"lodash.memoize": "^4.1.2",
"moti": "^0.28.1",
"nativewind": "^4.0.36",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-error-boundary": "^3.1.4",
"react-hook-form": "^7.51.4",
"react-i18next": "^12.3.1",
"react-native": "0.74.3",
"react-native-avoid-softinput": "^4.0.2",
"react-native-flash-message": "^0.4.2",
"react-native-gesture-handler": "~2.16.2",
"react-native-mmkv": "2.6.3",
"react-native-reanimated": "~3.10.1",
"react-native-restart": "0.0.27",
"react-native-safe-area-context": "4.10.1",
"react-native-screens": "~3.31.1",
"react-native-svg": "15.2.0",
"react-native-web": "~0.19.11",
"react-query-kit": "^3.3.0",
"tailwind-variants": "^0.1.20",
"zod": "^3.23.8",
"zustand": "^4.5.2"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@dev-plugins/react-navigation": "^0.0.6",
"@dev-plugins/react-query": "^0.0.6",
"@expo/config": "~9.0.2",
"@react-native-community/eslint-config": "^3.2.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react-native": "^12.5.0",
"@types/i18n-js": "^3.8.9",
"@types/jest": "^29.5.12",
"@types/lodash.memoize": "^4.1.9",
"@types/react": "~18.2.79",
"@types/react-test-renderer": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"babel-plugin-module-resolver": "^5.0.2",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-plugin-i18n-json": "^4.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-tailwindcss": "^3.15.2",
"eslint-plugin-testing-library": "^6.2.2",
"eslint-plugin-unicorn": "^46.0.1",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-expo": "~51.0.3",
"jest-junit": "^16.0.0",
"lint-staged": "^13.3.0",
"metro-babel-register": "^0.73.10",
"np": "^7.7.0",
"prettier": "^2.8.8",
"react-test-renderer": "^18.3.1",
"tailwindcss": "3.3.2",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/user/repo-name.git"
},
"packageManager": "pnpm@8.6.5",
"osMetadata": {
"initVersion": "6.0.0"
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
M-Farih
Jul 23, 2024
Replies: 1 comment
-
Hello, Just set |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
elalami-m
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, Just set
newArchEnabled
to false in theapp.config
, and it works fine.