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!
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
Google Chrome Error
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!
Ari Misha19,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!