[Bug]: The operation couldn't be completed. (LanguageServerProtocol. ServerError error 10.)
Before Reporting
- [X] I have checked FAQ, and there is no solution to my issue
- [X] 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.
How to reproduce the bug.
After installation
Relevant log output
No response
macOS version
No response
Xcode version
No response
Copilot for Xcode version
No response
Node version
No response
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.
I'm encountering the same error after installing the application on a new device.
@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.
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
In General, this problem arises from a multitude of issues. The following Steps should help in resolving the issue. Please try them out:
- Node.js is not symlinked -> Fix by writing full path to node application into CoPilot For Xcode Application
- 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 - Install Copilot.Vim
- After the above changes have been made - Completely Close Copilot for Xcode (Command + Q) and Restart Application -> Press Refresh Button Language Server
- On Status "OK" Try to connect to your Github account with Copilot license.
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