Build Native App - Getting the dependencies from mx utils failed.

2
Hi Makers, Did anyone run into this issue before? I am using mx version 9.12.1 and try to build the native app with Build Native App v1.0.114. But after configuration, no matter what i do or choose, i get: 2022-05-01T15:21:28.147Z: (info) [mx] 'Dependency collection finished: 9200 ms' 2022-05-01T15:21:28.147Z: (error) [mx] 'Command executed: C:\\Program Files\\Mendix\\9.12.1.42381\\modeler\\mx.exe collect-native-deps C:\\MENDIX\\xxx-main\\xxxx.mpr' 2022-05-01T15:21:28.147Z: (error) [mx] 'Getting the dependencies from mx utils failed.' 2022-05-01T15:21:28.147Z: (info) [NativeDependenciesStore] { requiredDependencies: {} } 2022-05-01T15:21:28.147Z: (info) [GithubKnownDependencyResolver] 'Retrieving known dependencies from mendix/native-template on ref tags/v6.2.16' 2022-05-01T15:21:28.147Z: (info) [github] 'Retrieving raw contents of file .mx/known_dependencies.json from ref tags/v6.2.16...' 2022-05-01T15:21:28.168Z: (info) [NativeDependenciesStore] { knownDependencies: {} } 2022-05-01T15:21:28.169Z: (info) [Analytics] '/advanced/buildlocal: native_dependencies_collection_failed' 2022-05-01T15:21:28.169Z: (info) [Analytics] '/advanced/buildlocal: native_dependencies_collection_failed' 2022-05-01T15:21:28.170Z: (info) [Analytics] '/advanced/buildlocal: project_release_build_failed' 2022-05-01T15:21:28.171Z: (info) [Analytics] '/advanced/buildlocal: project_release_build_failed' Thanks in advance!
asked
3 answers
3

I've contacted mendix support and they have informed me that the issue is solved in mx 9.13.0 and it (issue) will also be solved in a higher version of mts/lts mx.9.12.x

answered
3

For those in MX 10.5.0, there's an issue with downloading some react dependencies due to an error in a change variable in the Microflow MxModelReflection.IVK_RecalculateSize where Mendix does not accept this part of the calculation: ($Member/FieldLength * .8). You must replace it with ($Member/FieldLength * 0.8) and your build might work successfully.

answered
0

hi, same error in mx 10.5.0 where did you find these logging? edit:  the logs of native builder are at %LOCALAPPDATA%\Mendix Builder\logs

answered