Remix app Script tag causing "process not defined" error

I am having an issue with my non-embedded Remix app that I am building from the template. Non of my pages need to be accessed through Shopify admin, which is why my app is unembedded. I noticed that from the beginning, my app has had a console error in the browser: process is not defined. Removing the element makes it go away. I think this may be preventing a proper session from being created when the app is installed, which is the main problem that I have been trying to solve for a while.

The readme does say remove all references to app bridge, so I deleted those pages since I am not using them, plus a few other imports like the ones above. However, removing all the references to app bridge did not get the error to go away. What in the scripts tag is causing this and how can I fix it?

I’m getting the same error today but was not getting it the last time I ran the app yesterday. Let me know if you get this figured out!

Will do! That’s weird that it just showed up, I think I had a similar experience. I have been stuck for weeks, so I am hoping this board brings some insight.

Mine ended up being a line of the actual code that was causing the error. I fixed it in a flurry of frustration so I don’t remember what it was exactly, but if you made any changes before it started, I’d just remove all of them and see if you still get the error