react-quiz icon indicating copy to clipboard operation
react-quiz copied to clipboard

I'm not sure what is the issue :(

Open Fewwy opened this issue 3 years ago • 5 comments

Hello! I followed the video step by step and got this error image image

Then I checked and compared the code with Github - found nothing that could be causing this error I copied and paste your code into my project and folders - same thing :( I just finished comparing tsconfig and package json - they are the same :( Do you have any ideas?

Fewwy avatar Jun 10 '21 20:06 Fewwy

Hey ... can it be that the API is down? Because this error is telling you that there's nothing to map over. My code should work 100% when I released the tutorial.

Thomas

Den tors 10 juni 2021 kl 23:00 skrev Fewwy @.***>:

Hello! I followed the video step by step and got this error [image: image] https://user-images.githubusercontent.com/62722417/121595741-e002e000-ca3e-11eb-8f44-efdad7b48057.png

Then I checked and compared the code with Github - found nothing that could be causing this error I copied and paste your code into my project and folders - same thing :( I just finished comparing tsconfig and package json - they are the same :( Do you have any ideas?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/weibenfalk/react-quiz/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVRL3UNSYNCOVGO6IRZP2DTSERVZANCNFSM46PLQHNQ .

weibenfalk avatar Jun 11 '21 08:06 weibenfalk

Hello,

I seem to be getting the same error.

lanejm avatar Aug 02 '21 15:08 lanejm

Never mind. I went back through and left an "s" off of answers so it just said answer in my API.ts. 🙄

lanejm avatar Aug 02 '21 15:08 lanejm

Error boundaries are React components that catch JavaScript errors anywhere in their child component tree, log those errors, and display a fallback UI instead of the component tree that crashed. The above error occurred in the <QuestionCard> ... The code was working perfectly fine when I initially deployed the app, will check the link to the media API . Ianejm, I am not sure what you did in API.ts file?

vaniadimova avatar Sep 06 '21 20:09 vaniadimova

My problem was a typo error I made. Once I corrected it, everything worked.

lanejm avatar Sep 06 '21 21:09 lanejm