Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: A cross-origin error was thrown #800

Open
avranju94 opened this issue Sep 22, 2021 · 0 comments
Open

Uncaught Error: A cross-origin error was thrown #800

avranju94 opened this issue Sep 22, 2021 · 0 comments

Comments

@avranju94
Copy link

Hi,
when I set up the local development environment, and open http://localhost:8090/example, I am seeing a blank page with these two errors in my console browser

Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of App.
at createFiberFromTypeAndProps (react-dom.development.js:25088)
at createFiberFromElement (react-dom.development.js:25116)
at reconcileSingleElement (react-dom.development.js:14082)
at reconcileChildFibers (react-dom.development.js:14142)
at reconcileChildren (react-dom.development.js:17020)
at updateHostComponent (react-dom.development.js:17662)
at beginWork (react-dom.development.js:19110)
at HTMLUnknownElement.callCallback (react-dom.development.js:3942)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3991)
at invokeGuardedCallback (react-dom.development.js:4053)

Uncaught Error: A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.
at Object.invokeGuardedCallbackDev (react-dom.development.js:4002)
at invokeGuardedCallback (react-dom.development.js:4053)
at beginWork$1 (react-dom.development.js:23994)
at performUnitOfWork (react-dom.development.js:22806)
at workLoopSync (react-dom.development.js:22737)
at renderRootSync (react-dom.development.js:22700)
at performSyncWorkOnRoot (react-dom.development.js:22323)
at scheduleUpdateOnFiber (react-dom.development.js:21911)
at updateContainer (react-dom.development.js:25512)
at react-dom.development.js:26051

what is the issue here? Can someone help me, please? I have attached the screenshot of the page too?

screenshot1
screenshot2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant