-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
javascript completion issue using tsserver: "RuntimeError: TSServer is not running." #3426
Comments
Can you get the tsserver log file too? It looks like it’s not starting. |
Thanks for looking - I did include it in the gist, although it is completely empty. |
From the ycmd stderr log:
@peterdutton Can you try executing It should start the TSServer and the first message should be something like:
After which, you can try feeding it some garbage like
The important part is that each response from TSServer needs to start with "Content-Length: <some number>" Also, it looks like you didn't have |
Thanks - I tried executing the command and it returns the "Content-Length: ..." at the beginning of the response. Apologies, I mustn't have set the debug flag properly. I've done that now and updated the files in the gist. |
I have same output error message too Is you vim working properly? @peterdutton |
No, I wasn't able to get it working unfortunately, so I'm looking at using a different completion plugin now. |
Two things come to my mind:
|
no follow-up, no new data. likely an environment issue. If there is any new information, please raise a new issue. |
Still having this issue. Any workarounds? |
If you are having a problem please raise a new issue, completing the issue template. |
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
insidethe brackets) before filing your issue:
Frequently Asked Questions section.
about to report and couldn't find an answer to my problem. (Example Google
search.)
vim --version
.:YcmDebugInfo
.the
:YcmToggleLogs
command.version) I am using.
my issue, including what I expected to happen and what actually happened.
of
install.py
(orcmake
/make
/ninja
) including its invocationthat any help I receive is a selfless, heartfelt gift of their free time. I
know I am not entitled to anything and will be polite and courteous.
actually perform all of these steps.
Thank you for adhering to this process! It ensures your issue is resolved
quickly and that neither your nor our time is needlessly wasted.
Issue Details
Opened a javascript file in vim.
Completion functionality in the JS file would be available. I am setting up javascript completion for the first time but have completion running successfully in other languages. I have run the install script using the '--ts-completer' flag and have node/npm installed. Please note that I used nvm to install node; if this is not supported please let me know.
Completion was not available and the message "RuntimeError: TSServer is not running." was shown.
Diagnostic data
Output of
vim --version
Output of
YcmDebugInfo
Contents of YCM, ycmd and completion engine logfiles
https://gist.github.com/peterdutton/91810a644818b24023b1c4e3dcd413fa
OS version, distribution, etc.
Ubuntu 18.04.2 LTS
Output of build/install commands
The text was updated successfully, but these errors were encountered: