A cross-origin error was thrown. React doesn‘t have access to the actual error object in development

A cross origin error was throw. React doesn’t have access to the actual error object in development

I ran the react project in the morning. I read the reason on the Internet and learned that there was a problem with the package, which led me to delete the package several times without solving it. Finally, delete the package and then clear the cache of the package with the instruction. The package downloaded with the yarn instruction solves this problem

Read More: