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

Cannot read property 'configurations' of undefined. #125

Open
vnaeimabadi opened this issue Jul 9, 2022 · 2 comments
Open

Cannot read property 'configurations' of undefined. #125

vnaeimabadi opened this issue Jul 9, 2022 · 2 comments

Comments

@vnaeimabadi
Copy link

image

@REInVent650
Copy link

followed the instructions and experienced the same error

`reinvent650@MacbookPro rn-background-geolocation-demo-master % react-native run-android

error Cannot read properties of undefined (reading 'configurations').
TypeError: Cannot read properties of undefined (reading 'configurations')
at Object.dependencyConfig (/Users/reinvent650/Downloads/rn-background-geolocation-demo-master/node_modules/@react-native-community/cli-platform-ios/build/config/index.js:102:37)
at /usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli-config/build/loadConfig.js:47:61
at Array.reduce ()
at getDependencyConfig (/usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli-config/build/loadConfig.js:44:51)
at Object.get @react-native-async-storage/async-storage [as @react-native-async-storage/async-storage] (/usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli-config/build/loadConfig.js:99:18)
at warnAboutManuallyLinkedLibs (/Users/reinvent650/Downloads/rn-background-geolocation-demo-master/node_modules/@react-native-community/cli-platform-android/build/link/warnAboutManuallyLinkedLibs.js:39:43)
at displayWarnings (/Users/reinvent650/Downloads/rn-background-geolocation-demo-master/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:82:44)
at Object.runAndroid [as func] (/Users/reinvent650/Downloads/rn-background-geolocation-demo-master/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:97:3)
at Command.handleAction (/usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js:142:23)
at Command.listener [as _actionHandler] (/usr/local/lib/node_modules/react-native/node_modules/commander/lib/command.js:482:17)
info Run CLI with --verbose flag for more details.
reinvent650@MacbookPro rn-background-geolocation-demo-master % react-native run-ios
error Cannot read properties of undefined (reading 'configurations').
TypeError: Cannot read properties of undefined (reading 'configurations')
at Object.dependencyConfig (/Users/reinvent650/Downloads/rn-background-geolocation-demo-master/node_modules/@react-native-community/cli-platform-ios/build/config/index.js:102:37)
at /usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli-config/build/loadConfig.js:47:61
at Array.reduce ()
at getDependencyConfig (/usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli-config/build/loadConfig.js:44:51)
at Object.get @react-native-async-storage/async-storage [as @react-native-async-storage/async-storage] (/usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli-config/build/loadConfig.js:99:18)
at warnAboutManuallyLinkedLibs (/Users/reinvent650/Downloads/rn-background-geolocation-demo-master/node_modules/@react-native-community/cli-platform-ios/build/link/warnAboutManuallyLinkedLibs.js:39:43)
at Object.runIOS [as func] (/Users/reinvent650/Downloads/rn-background-geolocation-demo-master/node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js:104:44)
at Command.handleAction (/usr/local/lib/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js:142:23)
at Command.listener [as _actionHandler] (/usr/local/lib/node_modules/react-native/node_modules/commander/lib/command.js:482:17)
at /usr/local/lib/node_modules/react-native/node_modules/commander/lib/command.js:1264:65
info Run CLI with --verbose flag for more details.`

@christocracy
Copy link
Member

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

No branches or pull requests

3 participants