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
136 stars 56 forks source link

"Error: No binaries are available for your platform: linux-arm64" Regression of #955 #1096

Open nils opened 8 months ago

nils commented 8 months ago

Please provide the following info:

Steps to Reproduce:

  1. On a linux/arm64 machine, run npm i -g mbt@latest
  2. Notice error message:
    
    npm ERR! code 1
    npm ERR! path /usr/local/share/nvm/versions/node/v18.18.2/lib/node_modules/mbt
    npm ERR! command failed
    npm ERR! command sh -c node install cloud-mta-build-tool
    npm ERR! /usr/local/share/nvm/versions/node/v18.18.2/lib/node_modules/mbt/install.js:49
    npm ERR!   throw new Error("No binaries are available for your platform: " + buildId);
    npm ERR!   ^
    npm ERR! 
    npm ERR! Error: No binaries are available for your platform: linux-arm64
    npm ERR!     at Object.<anonymous> (/usr/local/share/nvm/versions/node/v18.18.2/lib/node_modules/mbt/install.js:49:9)
    npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1256:14)
    npm ERR!     at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    npm ERR!     at Module.load (node:internal/modules/cjs/loader:1119:32)
    npm ERR!     at Module._load (node:internal/modules/cjs/loader:960:12)
    npm ERR!     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
    npm ERR!     at node:internal/main/run_main_module:23:47
    npm ERR! 
    npm ERR! Node.js v18.18.2

npm ERR! A complete log of this run can be found in: /home/vscode/.npm/_logs/2023-11-13T09_08_19_201Z-debug-0.log



This seems like the linux/arm64 support introduced in #955/#956 was lost again between `mbt@1.2.24` and `mbt@1.2.25`, because in 1.2.24 still works fine.
vmikhailenko commented 8 months ago

Also got indirectly impacted by this. Here https://www.npmjs.com/package/mbt?activeTab=code there is no mention of Linux for ARM. One can also reproduce this with a Docker on a Mac.

yutaoj commented 7 months ago

the next MBT release will support the linux/arm64 platform

lenherradrian commented 5 months ago

Are there any plan for the next release, including the support for linux/arm64 platform ?