Bummer! You have been redirected as the page you requested could not be found.

Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript React Basics (retired) First Steps in React Our First Application

marckaljonp
marckaljonp
14,079 Points

Google Chrome Error

Hello!

I'm getting an error when I open the index.html file on Google Chrome. It says, "Failed to load <file path>: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https." This prevents any changes I make in the app.jsx file to reflect.

Works fine with Firefox; though, getting some weird console errors from app.css and babel-browser.min.js.

Both browsers are up-to-date and have the React Dev Tools.

Thanks in advance!

1 Answer

Ari Misha
Ari Misha
19,323 Points

Hiya there! The error suggests that you aren't serving your application over HTTP or https, plus you might wanna provide cors(cross-origin resource policy) to your express server. That's all I can from the error. But I hope it helped!

~ Ari