zodern / meteor-up

Production Quality Meteor Deployment to Anywhere
http://meteor-up.com/
MIT License
1.27k stars 280 forks source link

Mup Deploy error on Apple Silicon (M1) #1284

Open appigram opened 2 years ago

appigram commented 2 years ago

Mup version (mup --version): 1.5.5

I am running the mup deploy as usual on Macbook M1 chip (Meteor 2.5.1 or 2.5.2-betas with Apple M1 chip support)

But I am receiving this error message below

Cleaning Up Previous Builds
Building App Bundle Locally
/Users/appigram/.meteor/packages/meteor-tool/.2.5.1.1t0zdzb.asmeh++os.osx.arm64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.arm64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:218
      throw error;
      ^

Error: missing tool for os.osx.x86_64 in meteor-tool@2.5.2-beta.8
    at springboard (/tools/cli/main.js:504:11)
    at /tools/cli/main.js:1165:7

=> Build Error. Check the logs printed above.

It works in Rosetta terminal, but it will be very helpful to specify architecture to build release in the next versions like mup deploy arch=x86_64 or something else

dmitri-vlasov commented 1 year ago

@appigram hey! Evgeny, was you able to resolve this issue? I have pretty much same when compiling meteor-dev for Rocket.Chat in /.meteor/packages/meteor-tool/.2.10.0.dsqtfm.q3sdq++os.osx.arm64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.arm64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js

Снимок экрана 2023-02-13 в 20 54 54