SAP / cloud-mta-build-tool

Multi-Target Application (MTA) build tool for Cloud Applications https://sap.github.io/cloud-mta-build-tool
Apache License 2.0
141 stars 61 forks source link

mbt build not working in Mac #1056

Open wenshanliu opened 1 year ago

wenshanliu commented 1 year ago

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

Please provide the following info:

Steps to Reproduce: Got the below error using 'mbt build' in MacOS. The same project can build in Windows machine. npm ERR! code 1 npm ERR! path /.../node_modules/@sap/node-jwt npm ERR! command failed npm ERR! command sh -c node ./build.js npm ERR! Unsupported (?) architecture: arm64

asilgidjian commented 1 year ago

I am having the same issue. It looks like arm64 architecture is not supported by node-jwt https://www.npmjs.com/package/@sap/node-jwt

As I am going to deploy to BTP, which most probably is not using M1 chip, I am willing to accept any workaround that will make the build passing.

dus2001 commented 1 year ago

you can download the mbt version for arm64. It is available in downloads