You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also please test using the latest version build to make sure your issue has not already been fixed:
Please provide the following info:
MBT Version: 1.2.27
OS Version: Mac 14.4.1
If possible, provide a link to the project.
Steps to Reproduce:
I setup MBT latest version in my Mac
After i cloned my project and triggered mbt build it fails with below error.
xxx@xxx cfadmincockpit % mbt build
[2024-04-16 19:01:59] INFO Cloud MTA Build Tool version 1.2.27
[2024-04-16 19:01:59] INFO generating the "Makefile_20240416190159.mta" file...
[2024-04-16 19:01:59] INFO done
[2024-04-16 19:01:59] INFO executing the "make -f Makefile_20240416190159.mta p=cf mtar= strict=true mode=" command...
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Node.js v20.11.0
[2024-04-16 19:01:59] ERROR could not build the MTA project: could not execute the "make -f Makefile_20240416190159.mta p=cf mtar= strict=true mode=" command: exit status 1
Error: could not build the MTA project: could not execute the "make -f Makefile_20240416190159.mta p=cf mtar= strict=true mode=" command: exit status 1
I can run the mbt build succesfull in my local mac. this issue seems that it associates with the nodejs . could you run the node install or build with the command in the mta.ymal in your mac ?
Do you want to request a feature or report a bug?
latest
version build to make sure your issue has not already been fixed:Please provide the following info:
Steps to Reproduce:
xxx@xxx cfadmincockpit % mbt build
[2024-04-16 19:01:59] INFO Cloud MTA Build Tool version 1.2.27
[2024-04-16 19:01:59] INFO generating the "Makefile_20240416190159.mta" file...
[2024-04-16 19:01:59] INFO done
[2024-04-16 19:01:59] INFO executing the "make -f Makefile_20240416190159.mta p=cf mtar= strict=true mode=" command...
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Node.js v20.11.0
[2024-04-16 19:01:59] ERROR could not build the MTA project: could not execute the "make -f Makefile_20240416190159.mta p=cf mtar= strict=true mode=" command: exit status 1
Error: could not build the MTA project: could not execute the "make -f Makefile_20240416190159.mta p=cf mtar= strict=true mode=" command: exit status 1
Additionally I also tried installing xcode-select version 2406 command line tool as mentioned in https://sap.github.io/cloud-mta-build-tool/troubleshooting/#make-cannot-run-on-mac-os still getting same issue.
The text was updated successfully, but these errors were encountered: