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

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

Open
nils opened this issue Nov 13, 2023 · 3 comments

Comments

@nils
Copy link

nils commented Nov 13, 2023

Please provide the following info:

  • MBT Version: 1.2.25+
  • OS Version: Linux/arm64

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
Copy link
Member

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
Copy link
Collaborator

yutaoj commented Dec 6, 2023

the next MBT release will support the linux/arm64 platform

@lenherradrian
Copy link

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

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

4 participants