Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MTA build failed : could not execute the on Mac #1115

Open
karthirc opened this issue Apr 17, 2024 · 1 comment
Open

MTA build failed : could not execute the on Mac #1115

karthirc opened this issue Apr 17, 2024 · 1 comment

Comments

@karthirc
Copy link

Do you want to request a feature or report a bug?

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:

  1. I setup MBT latest version in my Mac
  2. 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

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.

@yutaoj
Copy link
Collaborator

yutaoj commented May 7, 2024

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants