. Without any code changes one of my tests in KVision started failing with strange error:
Copy code
> Task :kvision-modules:kvision-react:legacyBrowserTest
UncaughtException:: Cannot read property 'forEach' of undefined
TypeError: Cannot read property 'forEach' of undefined
at KarmaKotlinReporter.specFailure (/home/runner/work/kvision/kvision/build/js/node_modules/kotlin-test-js-runner/karma-kotlin-reporter.js:218:88)
Here is a link to the github actions failure with full error message:
https://github.com/rjaros/kvision/runs/2205736268
It fails only on legacy backend test, with ChromeHeadless, Chrome and Firefox runners with very similar message. The problem is somehow connected to react or kotlin-react, because only kvision-react module is affected. Anyone has any idea what could be the cause of this?
Robert Jaros
03/26/2021, 11:56 PM
It could be react version conflict (17.0.1 vs 17.0.2) ...
Robert Jaros
03/27/2021, 12:01 AM
Yep, apparently it's easier to think when the problem is reported on the slack channel 😉
Robert Jaros
03/27/2021, 12:06 AM
Still waiting for kotlin-react 17.0.2 on maven central ...
😀 1
t
turansky
03/27/2021, 4:53 AM
kotlin-react
doesn’t use fixed react version.
For now it must use