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 evaluate module react-native-linkedin-login #2

Closed
navaneeth opened this issue Apr 16, 2016 · 6 comments
Closed

Cannot evaluate module react-native-linkedin-login #2

navaneeth opened this issue Apr 16, 2016 · 6 comments

Comments

@navaneeth
Copy link

I have followed everything specified in the android setup guide. I am getting the following error

Cannot evaluate module react-native-linkedin-login. Configuration with name 'default' not found.

My package.json looks like the following

{
  "dependencies": {
    "react-button": "^1.2.1",
    "react-native": "^0.20.0",
    "react-native-dialogs": "0.0.13",
    "react-native-facebook-login": "^1.0.3",
    "react-native-file-transfer-android": "0.0.2",
    "react-native-linkedin-login": "^1.2.2",
    "react-native-loading-spinner-overlay": "0.0.6",
    "react-native-modalbox": "^1.3.1",
    "react-native-navbar": "^1.4.2",
    "react-native-parallax": "^0.2.2",
    "react-native-scrollable-tab-view": "^0.4.0",
    "react-native-selectme": "^1.0.0",
    "react-native-vector-icons": "^1.3.3"
  }
}

Any idea why this error will happen? Any help would be great.

@xphaul
Copy link

xphaul commented Jun 20, 2016

@navaneeth did you managed to solve this problem?

@xphaul
Copy link

xphaul commented Jun 20, 2016

@jodybrewster same as @navaneeth im getting this error when compiling this on an android device i have also followed all of the guides in setting this up . Thanks

@xphaul
Copy link

xphaul commented Jun 20, 2016

okay i managed to make it run . i just changed
project(':react-native-linkedin-login').projectDir = new File(rootProject.projectDir, '../../android')
to
project(':react-native-linkedin-login').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-linkedin-login/android')

hope this helps other devs on the future . cheers

@mlumbroso
Copy link

Thanks had the same issue and this solved it !

@xphaul
Copy link

xphaul commented Jun 22, 2016

@mlumbroso can you check if theres a returned promise if you succesfully logged in #7 im stuck with this thanks

@mlumbroso
Copy link

mlumbroso commented Jun 22, 2016

Actually, I can't help you because I'm stuck before, with this error :

"{ "errorCode": "INVALID_REQUEST", "errorMessage": "either bundle id or package name \/ hash are invalid, unknown, malformed" }"

I'm not sure what parameter was wrong. I'm using it on Android :

'your_client_id',
'your_client_secret',
'your_state',

actually the your_state parameter I have no clue what it corresponds to. You have any clue?

Thanks

Edit : actually I managed to make it work by using the correct alias on the hash generation (no error displayed with the commands used to generate it)

jodybrewster pushed a commit that referenced this issue May 5, 2017
* removing empty AFNetworking directory to solve git submodule error.
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

4 participants