using custom composite through cauldron
I run into issues when was trying to use custom composite with cauldron
I think documentation about Configure Electrode Native to use custom Composite: Through Cauldron is either misleading or incorrect
I tried to edit claudron.json file manually and place
"config": {
"compositeGenerator": {
"baseComposite": "git+ssh://github.com/user/foo.git#mybranch"
}
}
section on different levels and it did not have any effect
The effective way of compositeGenerator is to create file config/default.json file (either manually or through ern cauldron add file) with content
"compositeGenerator": {
"baseComposite": "git+ssh://github.com/user/foo.git#mybranch"
}
(found example on internal github)
which makes ern cauldron add miniapps ... command aware of custom composite, but it fails when tried to clone baseComposite repo
✔ Ensuring that version is fixed 0s
✖ Generating Composite from Cauldron 0s
✖ Generating Composite 0s
✖ runCauldronCompositeGen failed: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
✖ [syncCauldronContainer] An error occurred: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type u
ndefined
✖ An error occurred: The "path" argument must be of type string. Received type undefined
Please advise, it's possible that I didn't understand something from the docs
Also, it's not an issue for us any more, it turned out that we don't need customComposite for ern cauldron add miniapps, since it's only creates bundle, but does not tries to run it