mbt build not working in Mac
wenshanliu opened this issue · 2 comments
Do you want to request a feature or report a bug?
Bug
Please provide the following info:
- MBT Version: 1.2.23
- OS Version: Ventura 13.4.1
- If possible, provide a link to the project.
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
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.
you can download the mbt version for arm64. It is available in downloads