Bug: Uncaught RangeError: Maximum call stack size exceeded
Wenn man die App im Browser aufruft, kommt es direkt zu einem Fehler:
config.js:34 Uncaught RangeError: Maximum call stack size exceeded at getConfig (config.js:34:3) at getApiUrl (config.js:68:10) at getConfig (config.js:35:14) at getApiUrl (config.js:68:10) at getConfig (config.js:35:14) at getApiUrl (config.js:68:10) at getConfig (config.js:35:14) at getApiUrl (config.js:68:10) at getConfig (config.js:35:14) at getApiUrl (config.js:68:10)
Als der Bug behoben war, kam ein neuer hinzu:
config.js:34 Uncaught RangeError: Maximum call stack size exceeded at getConfig (config.js:34:3) at isKeycloakEnabled (config.js:50:18) at getConfig (config.js:39:25) at isKeycloakEnabled (config.js:50:18) at getConfig (config.js:39:25) at isKeycloakEnabled (config.js:50:18) at getConfig (config.js:39:25) at isKeycloakEnabled (config.js:50:18) at getConfig (config.js:39:25) at isKeycloakEnabled (config.js:50:18) getConfig @ config.js:34 isKeycloakEnabled @ config.js:50 getConfig @ config.js:39 isKeycloakEnabled @ config.js:50 getConfig @
Ich habe das behoben, indem ich die rekursiven Funktionsaufrufe entfernt habe, aber nun bekomme ich die Fehlermeldung:
config.js:35 Uncaught ReferenceError: process is not defined at getConfig (config.js:35:14) at config.js:96:16 at main.js:13:2 getConfig @ config.js:35 (anonymous) @ config.js:96 (anonymous) @ main.js:13
Kam hiermit ins Repo: !19 (merged)