I am running the chromori server on a Windows machine and it works fine when running on my local network, but when I connect to it using an external IP I get the following error:

This also happens when running the server on macos and connecting to it locally
The main problem that I have been trying to solve is the error from running the server on macos, I have tried placing the contents of fpsmeter.js in a script in index.html, but that produces "TypeError: Cannot read properties of undefined (reading 'nw.gui')". The closest I got was just setting adding this._fpsMeter = null; in the Graphics._createFPSMeter function, which leads to a black screen with an omori lightbulb in the corner, but I'm not sure what to do from there.
I am running the chromori server on a Windows machine and it works fine when running on my local network, but when I connect to it using an external IP I get the following error:
The main problem that I have been trying to solve is the error from running the server on macos, I have tried placing the contents of fpsmeter.js in a script in index.html, but that produces "TypeError: Cannot read properties of undefined (reading 'nw.gui')". The closest I got was just setting adding this._fpsMeter = null; in the Graphics._createFPSMeter function, which leads to a black screen with an omori lightbulb in the corner, but I'm not sure what to do from there.