Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Khumoyunmirzo Nosirov
8,689 PointsI think there is problem with react, when I open developer tool in chrome (F12) It shows 1 error
babel.min.js:24 Access to XMLHttpRequest at 'file:///C:/Users/Pilotech/Desktop/React/my-app/public/scoreboard/app.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
2 Answers

Steve Gallant
14,919 PointsBecause the URI starts with "file:///C:/", I'm guessing you are browsing to your file via the local Windows file system rather than running a local http server as previously described in the course. Make sure you are accessing the page via http in your browser, usually at http://localhost:8000 for the python method. Hope this helps!
Steve

Khumoyunmirzo Nosirov
8,689 Pointsthank you I did it I used wamp , and it works
Mike Hardy
Full Stack JavaScript Techdegree Graduate 16,511 PointsMike Hardy
Full Stack JavaScript Techdegree Graduate 16,511 PointsThanks Steve. I had the same issue and following the steps for "Running a simple local HTTP server" in the Teachers notes in a previous video was the answer.
Dominique Pearyer
503 PointsDominique Pearyer
503 PointsThank you thank you thank you! Your solution is the only one that worked and I've been searching for hours. For anyone who sees this and can't figure it out try these steps from the beginning on MacOs: