-
Hello, I apologize if this question is very good (I am very new to JavaScript and Firebase). I have been trying to set up Firebase by following this tutorial: Getting started with Firebase for the web -- Firebase Fundamentals. So far, it has been helpful, but when I run index.html, I get the following error: I am not sure how to solve this error, but it seems like the CORS policy is blocking my access to the firebase libraries. In case this helps, here is my index.js code:
And my index.html code:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The "x-ijt" header that is interfering with the request seems to be something Webstorm adds: https://youtrack.jetbrains.com/issue/WEB-30191 and not related to Firebase. I'd suggest asking in Webstorm forums or Stack Overflow, or anywhere else you can find help from Webstorm users. |
Beta Was this translation helpful? Give feedback.
-
@hsubox76 Hi Christina, thank you for your suggestion and for pointing me in the right direction! I actually think that I may have found the solution to my problem and nearly burst into tears out of relief. I was looking up if someone received a similar error using Webstorm, and I found a post that helped me solve this error: CORS errors from Font Awesome font in Angular app. It seems that going into settings and clicking "Allow unsigned requests" will help. Thank you again, and I hope you have a wonderful week! Michelle |
Beta Was this translation helpful? Give feedback.
The "x-ijt" header that is interfering with the request seems to be something Webstorm adds: https://youtrack.jetbrains.com/issue/WEB-30191 and not related to Firebase. I'd suggest asking in Webstorm forums or Stack Overflow, or anywhere else you can find help from Webstorm users.