cerebral/overmind

[BUG] Using overmind-react in a Gatsby site throws Uncaught ReferenceError: process is not defined

drulang opened this issue · 2 comments

Following the setup instructions on using Overmind with Gatsby results in Uncaught ReferenceError: process is not defined in the browser. I've created a repo that illustrates the issue: https://github.com/drulang/overmind-example

Clone and run gatsby develop to see it first hand.

Screen Shot 2021-05-25 at 10 39 47 AM

Error is being thrown on the last line:
Screen Shot 2021-05-25 at 10 44 18 AM

This should be fixed in next release 😄

I started to get the same error after an update to react-scripts v5

overmind-react v28.0.0