scalameta/nvim-metals

MetalsInstall (coursier) doesn't work on Apple Silicon (M1)

ironfish opened this issue ยท 5 comments

Describe the bug

Below is what I get when opening a Scala for the first time. This is expected

Screen Shot 2022-01-24 at 8 10 27 PM

When I run :MetalsInstall I get the following error.

Screen Shot 2022-01-24 at 8 12 13 PM

Expected behavior

Metal's Install to run and install correctly.

Operating system

macOS

Version of Metals

v0.11.1

Commit of nvim-metals

Cannot Find as Metals will not install.

Okay I was able to get :MetalsInstall to work after Installed Rosetta. It looks like Coursier needs to release a version that fully works with ARM.

Hey @ironfish, thanks for reporting. I'll leave this open to help discovery in case others hit on this. As you already found it it seems, there are issues with Coursier on M1. I see you already commented on them ๐Ÿ˜† but I'll link them here as well:

Hey @ironfish, it looks like coursier merged in support for Graal 22.1.0 from my understanding supports M1. Do you know if this fixes your install woes?

I installed it without problems without knowing this was an issue. So yes, I would say it is OK.

Great, thanks for reporting on this @reidrac. I'll go ahead and close. If others hit on this, please do report back.