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

"process is not defined" erorr makes app non-responsive #350

Closed
jcapogna opened this issue Feb 16, 2023 · 2 comments
Closed

"process is not defined" erorr makes app non-responsive #350

jcapogna opened this issue Feb 16, 2023 · 2 comments

Comments

@jcapogna
Copy link

I'm in the process of upgrading a CoreUI v3 project to v4. I've got things working except for some minor layout tweaks.

The problem I'm having is that the app is unresponsive when I leave the browser tab and come back to it. For example, clicking on a link results in no behavior. In the console, I see the following error. This error seems to occur either when I leave the tab or return to it. It's reproducible 100% of the time, no matter which page of my app I'm on.

Uncaught ReferenceError: process is not defined
    at 4043 (<anonymous>:2:13168)
    at r (<anonymous>:2:306599)
    at 8048 (<anonymous>:2:9496)
    at r (<anonymous>:2:306599)
    at 8641 (<anonymous>:2:1379)
    at r (<anonymous>:2:306599)
    at <anonymous>:2:315627
    at <anonymous>:2:324225
    at <anonymous>:2:324229
    at e.onload (index.js:1:1)

Has anyone else run into this? I'm not certain it is CoreUI related, but it only started happening when I upgrade to v4.

@jcapogna
Copy link
Author

I've discovered the app is non-responsive because there is an invisible iframe covering the page. I think this might be related to this: facebook/create-react-app#11773

@jcapogna
Copy link
Author

Yup. The solution here fixed it for me: facebook/create-react-app#11773 (comment)

This was caused by some incompatibilities in React libraries and not Core UI itself. I'll close this ticket.

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