Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,548,975 members, 5,872,061 topics. Date: Tuesday, 22 September 2020 at 06:32 PM

This Bug Is Giving Me a Headache - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / This Bug Is Giving Me a Headache (380 Views)

If You Interested In Learning And Earning From Bug Bounty Hacking, Jump Right In / Who Have Noticed This Bug In Nairaland / Help Please... Css Animations Giving Me Probs (2) (3) (4)

(1) (Reply) (Go Down)

This Bug Is Giving Me a Headache by sKeetz(m): 4:44pm On Sep 14
Hello devs,

So I'm trying to make a simple todo app with react js and I keep encountering this bug. I've tried everything to make it go away but it wont bulge sad


somebody help me before I lose my mind

Re: This Bug Is Giving Me a Headache by Karleb(m): 6:05pm On Sep 14
I searched Google for you and I got this from react website.
https://reactjs.org/docs/cross-origin-errors.html
I guess it's a common bug in development mode.
Re: This Bug Is Giving Me a Headache by valzey(m): 2:26am On Sep 15
It's not a react issue, but a browser security measure and its because the backend server and nodejs server are not the same. Cross-Origin
Can't explain it now but you can read up on cors - you may encounter it again further down your career line.
For now, google => how to disable chrome browser security or cors policy , once you do that, it'll work.
Re: This Bug Is Giving Me a Headache by 3KINGZ18: 8:36am On Sep 15
Just curious what are you doing in a todo app that is giving you a cors error? Consuming an Api?
Anyway check out heroku cors anywhere https://cors-anywhere.herokuapp.com/ and please don't use an extension in disabiling cors error because when the app is in production it will still return cors.
Re: This Bug Is Giving Me a Headache by valzey(m): 5:49pm On Sep 15
He should explain his problem clearly.
Re: This Bug Is Giving Me a Headache by sKeetz(m): 11:06pm On Sep 15
Thanks guys, I figured it our. Has to do with the scrimba ide I was using. Have moved my project to vscode and everything works well now.
Re: This Bug Is Giving Me a Headache by SageX1444: 4:11pm On Sep 21
sKeetz:
Thanks guys, I figured it our. Has to do with the scrimba ide I was using. Have moved my project to vscode and everything works well now.
angry

(1) (Reply)

. / Wechat Account For Sale / New Online Forum......review Please.....

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2020 Oluwaseun Osewa. All rights reserved. See How To Advertise. 34
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.