'After updating React version my applications stop running (getting "process is undefined" error )

The application was running until I updated my react version.

Now I'm getting error in my chrome console saying

Uncaught ReferenceError: process is not defined

I think it's coming from Modal library.

@redq/reuse-modal

Error Sreenshot



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source