Thursday, November 5, 2026
HomeiOS Developmentios - React native improve - pod set up throws error for...

ios – React native improve – pod set up throws error for config = use_native_modules

[ad_1]

I am attempting to improve my react native model to 0.68.2 from 0.66.3.

I’ve adopted this.

If I attempt to run pod set up, it throws:

error Can not learn properties of undefined (studying 'configurations').

[!] Invalid `Podfile` file: 859: sudden token at 'TypeError: Can not learn properties of undefined (studying 'configurations')

data Run CLI with --verbose flag for extra particulars.
'.

 #  from /Customers/me/Paperwork/app/ios/Podfile:8
 #  -------------------------------------------
 #  goal 'app' do
 >    config = use_native_modules!
 #    # Flags change relying on the env values.

This is my bundle.json:

{
  "identify": "app",
  "model": "0.0.1",
  "personal": true,
  "scripts": ts,
  "dependencies": {
    "@apollo/consumer": "^3.6.5",
    "apollo-upload-client": "^17.0.0",
    "date-fns": "^2.28.0",
    "eventemitter3": "^4.0.7",
    "graphql": "^16.5.0",
    "i18next": "^21.8.5",
    "react": "18.1.0",
    "react-i18next": "^11.16.9",
    "react-native": "0.68.2",
    "react-native-encrypted-storage": "^4.0.2",
    "react-native-fast-image": "^8.5.11",
    "react-native-get-random-values": "^1.8.0",
    "react-native-image-picker": "^4.8.3",
    "react-native-keychain": "^8.0.0",
    "react-native-notification-sounds": "^0.5.4",
    "react-native-sound": "^0.11.2",
    "react-native-splash-screen": "^3.3.0",
    "react-native-svg": "^12.3.0",
    "react-native-vector-icons": "^9.1.0",
    "react-redux": "^8.0.2",
    "react-router-native": "^5.3.2",
    "redux": "^4.2.0",
    "redux-thunk": "^2.4.1",
    "uuid": "^8.3.2",
    "victory-native": "^36.4.1"
  },
  "devDependencies": {
    "@babel/core": "^7.18.2",
    "@babel/preset-typescript": "^7.17.12",
    "@babel/runtime": "^7.18.3",
    "@graphql-codegen/add": "3.1.1",
    "@graphql-codegen/cli": "2.6.2",
    "@graphql-codegen/import-types-preset": "2.1.18",
    "@graphql-codegen/typescript": "2.4.11",
    "@graphql-codegen/typescript-operations": "2.4.0",
    "@graphql-codegen/typescript-react-apollo": "3.2.14",
    "@react-native-community/cli": "^8.0.2",
    "@react-native-community/eslint-config": "^3.0.2",
    "@testing-library/jest-native": "^4.0.5",
    "@testing-library/react-native": "^9.1.0",
    "@varieties/apollo-upload-client": "^17.0.0",
    "@varieties/jest": "^27.5.1",
    "@varieties/node": "^17.0.36",
    "@varieties/react": "^18.0.9",
    "@varieties/react-native": "^0.67.7",
    "@varieties/react-native-vector-icons": "^6.4.10",
    "@varieties/react-redux": "^7.1.24",
    "@varieties/react-router-native": "^5.1.3",
    "@varieties/react-test-renderer": "^18.0.0",
    "@varieties/uuid": "^8.3.4",
    "@typescript-eslint/eslint-plugin": "^5.26.0",
    "@typescript-eslint/parser": "^5.26.0",
    "babel-jest": "^28.1.0",
    "babel-plugin-transform-inline-environment-variables": "^0.4.4",
    "commitizen": "^4.2.4",
    "cz-conventional-changelog": "^3.3.0",
    "eslint": "^8.16.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-react": "^7.30.0",
    "eslint-plugin-react-hooks": "^4.5.0",
    "eslint-plugin-react-native": "^4.0.0",
    "flow-bin": "^0.179.0",
    "husky": "^8.0.1",
    "jest": "^28.1.0",
    "lint-staged": ">=12",
    "metro-react-native-babel-preset": "^0.71.0",
    "mockdate": "^3.0.5",
    "react-native-eject": "^0.1.2",
    "react-test-renderer": "18.1.0",
    "redux-devtools-extension": "^2.13.9",
    "ts-jest": "^28.0.3",
    "typescript": "^4.7.2"
  },
  "resolutions": {
    "@varieties/react": "18.x.x",
    "@varieties/react-dom": "18.x.x"
  },
  "husky": {
    "hooks":  true"
    
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  }
}

Operating on M1, adopted directions pod set up with m1, similar concern.

What’s the drawback?

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments