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

Fix unix socket path for MacOS on Apple Silicon. #3375

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

rgrunber
Copy link
Member

@rgrunber rgrunber commented Nov 3, 2023

As a pre-requisite to using the "overrides" entry (which requires npm 8.x), I've updated to Node 18. Let me know if that looks ok.

Fixes #3371 & eclipse-jdtls/eclipse.jdt.ls#2932
See microsoft/vscode-languageserver-node#1346
Fix is at microsoft/vscode-languageserver-node@d01d3ed

  • vscode-jsonrpc now reacts to IPC path limits on platforms
  • Update vscode-languageclient from 8.1.0 to 8.2.0-next.3
  • Use vscode-jsonrpc 8.2.1-next.1 (vscode-languageserver-protocol 3.17.6-next.1 requires it)
  • Requires engine bump from 1.67 -> 1.79

Copy link
Contributor

@datho7561 datho7561 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might be a good idea to update the CONTRIBUTING documentation (I don't know if this is the right doc) to specify that Node 18 is required, and specify what version of npm is required (I think the npm version is any 9.y.z). The format of package-lock.json changed significantly twice between npm 6 and npm 9, so if you npm i using the wrong version of npm it will fail or rewrite the file.

Otherwise, the code looks good! Unfortunately don't have access to Apple Silicon to test.

@rgrunber
Copy link
Member Author

rgrunber commented Nov 7, 2023

Good catch. Yeah we definitely need to update the contributing document to indicate the Node version required.

Copy link
Collaborator

@testforstephen testforstephen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. We tested it on a macOS M2 machine, the domain socket can be setup with this PR.

@rgrunber rgrunber self-assigned this Nov 8, 2023
Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
- vscode-jsonrpc now reacts to IPC path limits on platforms
- Update vscode-languageclient from 8.1.0 to 8.2.0-next.3
- Use vscode-jsonrpc 8.2.1-next.1
- Requires engine bump from 1.67 -> 1.79

Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
@rgrunber rgrunber merged commit 6bb208c into redhat-developer:master Nov 8, 2023
2 checks passed
@rgrunber rgrunber deleted the fix-3371 branch November 8, 2023 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Not Starting Up Properly Probably Due to Unix Domain Socket Length Limitations
3 participants