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

Unable to link library in fresh project #156

Closed
atulmy opened this issue Feb 11, 2019 · 2 comments
Closed

Unable to link library in fresh project #156

atulmy opened this issue Feb 11, 2019 · 2 comments

Comments

@atulmy
Copy link

atulmy commented Feb 11, 2019

> react-native link react-native-razorpay    

rnpm-install info Linking react-native-razorpay ios dependency 
rnpm-install ERR! Something went wrong while linking. Error: Cannot read property 'buildConfigurationList' of undefined 

Cannot read property 'buildConfigurationList' of undefined

TypeError: Cannot read property 'buildConfigurationList' of undefined
    at mobile/node_modules/react-native/local-cli/link/ios/getTargets.js:18:68
    at Array.map (<anonymous>)
    at getTargets (mobile/node_modules/react-native/local-cli/link/ios/getTargets.js:16:18)
    at registerNativeModuleIOS (mobile/node_modules/react-native/local-cli/link/ios/registerNativeModule.js:53:3)
    at Object.registerNativeModule [as register] (mobile/node_modules/react-native/local-cli/link/ios/common/registerNativeModule.js:22:5)
    at Object.keys.forEach.platform (mobile/node_modules/react-native/local-cli/link/link.js:74:16)
    at Array.forEach (<anonymous>)
    at linkDependency (mobile/node_modules/react-native/local-cli/link/link.js:44:32)
@iThink32
Copy link
Contributor

@atulmy a few clients have faced a similar issue with the react-native link command , please follow the manual linking process mentioned here
https://facebook.github.io/react-native/docs/linking-libraries-ios

@atulmy atulmy closed this as completed Feb 12, 2019
@sillysachin
Copy link

sillysachin commented Feb 27, 2019

The automatic steps did not work. The manual steps need a bit more of documentation to be clear how to follow.
https://medium.com/@sachin.r.r/using-razorpay-in-react-native-sample-3dea020de6a5

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