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

use lsp-install-server to install C# (csharp-roslyn) failed on mac os 14.5, M3 Pro chip #4520

Open
3 tasks done
sandao opened this issue Aug 2, 2024 · 2 comments · May be fixed by #4614
Open
3 tasks done

use lsp-install-server to install C# (csharp-roslyn) failed on mac os 14.5, M3 Pro chip #4520

sandao opened this issue Aug 2, 2024 · 2 comments · May be fixed by #4614
Labels

Comments

@sandao
Copy link

sandao commented Aug 2, 2024

Thank you for the bug report

  • I am using the latest version of lsp-mode related packages.
  • I checked FAQ and Troubleshooting sections
  • You may also try reproduce the issue using clean environment using the following command: M-x lsp-start-plain

Bug description

Install this language server with M-x lsp-install-server "RET" csharp-roslyn "RET" and got error:
LSP :: Server csharp-roslyn install process failed with the following error message: Unsupported platform: darwin (aarch64-apple-darwin23.5.0).

Steps to reproduce

on mac os 14.5, M3 Pro chip;
emacs 29.4;
use cmd M-x lsp-install-server "RET" csharp-roslyn "RET";

Expected behavior

install csharp-roslyn success;

Which Language Server did you use?

csharp-roslyn

OS

MacOS

Error callstack

No response

Anything else?

No response

@sandao sandao added the bug label Aug 2, 2024
@kiennq
Copy link
Member

kiennq commented Sep 23, 2024

Probably be resolved with #4558 as well

@GroundCombo
Copy link

I had this problem and it was caused by lsp-roslyn--get-rid misinterpreting system-configuration; it catches the 64 in aarch64 and returns osx-x64. Overriding lsp-roslyn--get-rid to return osx-arm64 fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants