Currently, core/build.sh has a dependency on kmc and other node-based projects. These are used only for unit tests, so should not be built or referenced unless doing ./build.sh test. But at present, core/tests/unit/ldml//keyboards/meson.build includes a configure() step that references kmc.
Ideally, this configure step should be reorganised to only run before running tests, rather than in the meson configure process.