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?