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

[Bug]: The operation couldn't be completed. (LanguageServerProtocol. ServerError error 10.) #338

Open
2 tasks done
PhillipLoackerAlturos opened this issue Aug 16, 2023 · 6 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@PhillipLoackerAlturos
Copy link

Before Reporting

  • I have checked FAQ, and there is no solution to my issue
  • I have searched the existing issues, and there is no existing issue for my issue

What happened?

After installing on my new device, this error showed up after installing, therefore I can't use copilot.
Untitled

How to reproduce the bug.

After installation
image

Relevant log output

No response

macOS version

No response

Xcode version

No response

Copilot for Xcode version

No response

Node version

No response

@PhillipLoackerAlturos PhillipLoackerAlturos added the bug Something isn't working label Aug 16, 2023
@PhillipLoackerAlturos PhillipLoackerAlturos changed the title [Bug]: [Bug]: The operation couldn't be completed. (LanguageServerProtocol. ServerError error 10.) Aug 16, 2023
@intitni
Copy link
Owner

intitni commented Aug 16, 2023

Please read the GitHub Copilot section in the FAQ to see if there is a solution. If not, show me the logs with verbose log enabled.

@intitni intitni added help wanted Extra attention is needed and removed bug Something isn't working labels Aug 16, 2023
@pradipaub36
Copy link

I'm encountering the same error after installing the application on a new device.

Screenshot 2023-08-17 at 2 36 48 PM

@intitni
Copy link
Owner

intitni commented Aug 17, 2023

@pradipaub36 Please read the GitHub Copilot section in the FAQ to see if there is a solution. If not, show me the node version and the logs with verbose log enabled.

@pradipaub36
Copy link

I managed to solve the problem by installing the most recent version of Node.js using the link provided.
https://nodejs.org/en

I appreciate your quick reply! @intitni

@Tieto-Starz
Copy link

Tieto-Starz commented Sep 17, 2023

In General, this problem arises from a multitude of issues. The following Steps should help in resolving the issue. Please try them out:

  1. Node.js is not symlinked -> Fix by writing full path to node application into CoPilot For Xcode Application
    Screenshot 2023-09-17 at 08 47 39
  2. Node.js not installed -> open terminal and install it (e.g. by using Homebrew) - or any other preferred way of installing it
    brew install node
  3. Install Copilot.Vim
    Screenshot 2023-09-17 at 08 51 57
  4. After the above changes have been made - Completely Close Copilot for Xcode (Command + Q) and Restart Application -> Press Refresh Button Language Server
    Screenshot 2023-09-17 at 08 48 39
  5. On Status "OK" Try to connect to your Github account with Copilot license.

@krisnaw
Copy link

krisnaw commented Dec 6, 2023

Solution if you using nvm on your mac

use this command to located node
nvm which current

Then paste the path on the Path to node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants