When installing uREPL via the Git URL the MainEditor is no longer under the special Editor folder under assets, as so it's not actually excluded at build time.
This leads to the build failing because of the dependency on UnityEditor
To solve this we would need to modify the package to add #if (UNITY_EDITOR) around the entire file.
Could you update the MainEditor to use macros please?