Hyper: [Question] M1 Mac & Rosetta

Created on 7 Dec 2020  Â·  26Comments  Â·  Source: vercel/hyper

Has there been any progress made on creating an ARM compatible build for the new M1 Macs so everything isn't executed through Rosetta?

Sorry if this has been discussed elsewhere before.

Most helpful comment

Still have to fix the CI to properly upload the artifact

All 26 comments

https://github.com/vercel/hyper/runs/1561963547 has an arm64 artifact, can you try it?

https://github.com/vercel/hyper/runs/1561963547 has an arm64 artifact, can you try it?

I'm getting the following error when trying to run it:

“Hyper” is damaged and can’t be opened. You should move it to the Bin.

@Stanzilla I got the same issue as @segersniels when attempting to run the arm64 artifact

Yeah I think I know what it is, will be fixed soonish

I am looking for M1 native support

Any news?

Still have to fix the CI to properly upload the artifact

I tried this new build, it shows file is damaged, cannot open.

Try https://github.com/vercel/hyper/suites/1759175736/artifacts/33489701

I tried "sudo xattr -rd com.apple.quarantine /Applications/Hyper.app",and it shows

Uncaught Exception:
Error: `node-pty` failed to load. Typically this means that it was built incorrectly. Please check the `readme.md` to more info.
at createNodePtyError (/Applications/Hyper.app/Contents/Resources/app.asar/session.js:31:34)
at Object.<anonymous> (/Applications/Hyper.app/Contents/Resources/app.asar/session.js:38:11)
at Module._compile (internal/modules/cjs/loader.js:1152:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10)
at Module.load (internal/modules/cjs/loader.js:992:32)
at Module._load (internal/modules/cjs/loader.js:885:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12738)
at Function._load (/Applications/Hyper.app/Contents/Resources/app.asar/plugins.js:94:37)
at Module.require (internal/modules/cjs/loader.js:1032:19)
at require (internal/modules/cjs/helpers.js:72:18)

Still broken

@Stanzilla Anything we can do to assist?

@segersniels I mean you can try building it locally and see if that works, I don't have a M1 mac to do that.

Building canary is working on M1, I'm using it right now

Building canary is working on M1, I'm using it right now

Hmm I'm receiving the same error as reported above building from canary. Are you sure you are running the arm64 version?

Yes. I'm also have node and yarn for arm64.

CleanShot 2021-01-05 at 03 27 <a href="20@2x">20@2x</a>

Aha, so apparently building using node 14 (which doesn't run natively on m1) causes the above error @Stanzilla. Building using 15 does seem to work now and hyper is running natively.

@mindesik Thanks for clarifying that you were using node 15 👍

Updated the CI to node 15, seems like there is still more to do though: https://github.com/vercel/hyper/runs/1645081308

https://github.com/vercel/hyper/runs/1645081308#step:7:165

I think it must use MacOSX11.1.sdk instead of MacOSX10.15.sdk

Exactly. It seems that the runs-on: macos-latest is starting the CI under version 10.15.7:

Operating System
  Mac OS X
  10.15.7
  19H15

Can you see if manually defining macos-11.0 (or later) enforces anything?

I just did that, yeah

Can run normally👍, very fast

How about this then https://github.com/vercel/hyper/suites/1764441117/artifacts/33639826

I get the following (using that artifact) again, even though I was able to build and run it locally 🤔 :

“Hyper” is damaged and can’t be opened. You should move it to the Bin.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yvan-sraka picture yvan-sraka  Â·  3Comments

laur1s picture laur1s  Â·  3Comments

legomushroom picture legomushroom  Â·  3Comments

dbkaplun picture dbkaplun  Â·  3Comments

juicygoose picture juicygoose  Â·  3Comments