Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unhandled Rejection (SecurityError): The operation is insecure. On a fresh create-react-app project

Tags:

I created a new project with create-react-app then ran npm start then this showed up. https://imgur.com/a/3By9NCr

Using FF 69.0.3

like image 349
Dwyte Avatar asked Oct 20 '19 04:10

Dwyte


1 Answers

This problem seems to only happen in Firefox. Edge worked fine.

After creating the project, in index.js change:

serviceWorker.register();
//serviceWorker.unregister();

Still trying to figure whose fault this is, but this should get you going.

like image 61
david.pfx Avatar answered Sep 29 '22 11:09

david.pfx