My app stopped compiling and I am not sure why

I am getting these errors when I try to compile my app:

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”).

Content Security Policy: The page’s settings blocked the loading of a resource at http://localhost:8100/favicon.ico (“default-src”).

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”).

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”).

It used to compile fine earlier today and I am not sure what I did to cause these problems. Nor can I find “default-src”.

I’m not sure what code to give you to look at :frowning:

Sorry for the hard question.

Thanks for any help that you can give.

the same thing has happened to me on the last few new projects I’ve started

are you running a cordova or capacitor app?
I am seeing a few posts that say the cordova-whitelist plugin was why its not happening with cordova but capacitor is not working around it

try posting your results of

$ ionic info

and the contents of package.json

Thank you so much for replying! It took awhile, but i eventually got my app working!

Here is what solved it for me!

I used the web developer tool in my fire fox browser!
When I ran the app, it told me where the app stopped running and why.

My terminal never showed any problems, but Firefox’s tool showed me exactly where I needed to look. In the end, I had a misspelled page name.

Hope this helps someone in the future!