Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Removing getUser from Api.js results in error #41

Closed
hnprashanth opened this issue May 17, 2017 · 5 comments
Closed

Removing getUser from Api.js results in error #41

hnprashanth opened this issue May 17, 2017 · 5 comments
Labels

Comments

@hnprashanth
Copy link

Hi,

I'm new to react-native & ignite, was following the YouTube guide on how to add API to the application.
There seems to be some kind of dependency on getUser since removing this API results in error. I tried removing other two APIs getRate and getRoot, but they were fine.
I'm getting "uncaught at check call argument fn is undefined"
Since I'm new to this, I'm not able to debug what's going on here, but should have worked fine as per the YouTube guide.
screen shot 2017-05-17 at 10 34 41 am

@GantMan
Copy link
Member

GantMan commented May 18, 2017

I wonder if there's something inside the saga? Can you do a find-all? I bet the saga is looking for that API call.

@hnprashanth
Copy link
Author

Yes, there is reference from GithubSagas.js which has a reference from Sagas/index.js, I'm wondering why every application would require Github getUser!

@hnprashanth
Copy link
Author

hnprashanth commented May 18, 2017

I'm following YouTube guide to the T - https://www.youtube.com/watch?v=GUZJr6Dyok0&t=180s
When I do what is shown at 3 minute mark, I get this error.

@hnprashanth
Copy link
Author

Removed all references and this seems to be working (no error, but API not working as expected, closing this as it's not related).

@kiang
Copy link

kiang commented Dec 26, 2017

Met the same problem as following the same video guide. Maybe is should be noted somewhere.

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

No branches or pull requests

4 participants