-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Uncaught User Exception (!articles.length) #7
Comments
Encountered The Same Issue |
Did you find a Solution? |
No I didn’t unfortunately. Had to abandon the project. Author wasn’t replying to my multiple emails as well. Guess we gotta move on.
… On Nov 2, 2021, at 11:47 AM, Martin Ndegwa ***@***.***> wrote:
Did you find a Solution?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Moving on it is |
// News by Source
}) |
if this doesnot work then try
}) |
if this still doesnot work then try with both same codes but change the parameter in |
line 18, 44, 74 in the alanStudio.js file throw uncaught exceptions
I changed the condition to
if(articles === undefined)
but that just routed to error to line 17 in NewsCards.js where we display the 4 cards on the main page after trying to evaluate
if(!articles.length)
I don't know why this error keeps popping up. Clearly, the articles aren't being returned hence the reason its properties are showing up as undefined. But my API key and plan are functioning well and I haven't surpassed any query limits so this is a pretty annoying issue. Please let me know if there's a way around this. It would be very appreciated as I spent a lot of time developing this and not just copying and pasting. Would be a shame if I had to drop it after all the hours spent.
The text was updated successfully, but these errors were encountered: