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

Something went wrong while linking. Error: Cannot read property 'buildConfigurationList' of undefined #68

Closed
ankitkumarsahu opened this issue Apr 17, 2018 · 11 comments

Comments

@ankitkumarsahu
Copy link

ankitkumarsahu commented Apr 17, 2018

Steps to recreate the issue:

  1. react-native init
  2. npm i react-native-razorpay --save
  3. react-native link react-native-razorpay

Full issue:
Scanning folders for symlinks in ~/node_modules (19ms)
rnpm-install info Linking react-native-razorpay ios dependency
rnpm-install ERR! Something went wrong while linking. Error: Cannot read property 'buildConfigurationList' of undefined
Please file an issue here: https://github.com/facebook/react-native/issues

Cannot read property 'buildConfigurationList' of undefined

@iThink32
Copy link
Contributor

Hey the auto linking step using react-native command 'link' does not seem to work as expected at times , please follow the manual linking procedure given in the readme :

https://github.com/razorpay/react-native-razorpay/wiki/Manual-Installation

@iThink32
Copy link
Contributor

closing this issue , please reopen if you still face this issue.

@kashishgrover
Copy link

I think you should reopen this because react-native link command is still not working. I obviously don't mind doing manual linking but shouldn't this be fixed?

@iThink32
Copy link
Contributor

@kashishgrover ideally speaking , react-native-link should also work if manual linking is working , many clients have actually used it and on the other hand there are a few who were not able to do so.
I guess we have to research more on this and is on our roadmap but is not a priority right now , you can reopen it if you feel so.

@KiranreddySrDev
Copy link

I am also getting same issues please help me out

@pronav
Copy link
Contributor

pronav commented May 24, 2019

Please provide plugin version, XCode version and react-native version.

We can have a screen-sharing session to help with modules linking, if needed.

@KiranreddySrDev
Copy link

Xcode version: 10
React-native version: 0.57.8
Yes I need help

@pronav
Copy link
Contributor

pronav commented May 24, 2019

Is it xcode 10.1 or 10.2, or version 10?

@KiranreddySrDev
Copy link

10.2.1

@KiranreddySrDev
Copy link

I got another issue that is
framework not found Razorpay
I have added in framework also but I am getting this error
Could you help me out ?

@rkbansal
Copy link

rkbansal commented Jun 26, 2019

Hi Everyone, installing and linking using rnpm instead of react-native solved this issue.
Steps,

  1. Install rnpm globally by npm install -g rnpm
  2. Then install packages by rnpm install
  3. Then link packages by rnpm link

It worked for me, let me know if you still facing the same issue.

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

6 participants