-
Notifications
You must be signed in to change notification settings - Fork 3
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
The Twig Language Server server crashed 5 times in the last 3 minutes. #30
Comments
Hi.
Looks like the node process can't get access to folder. |
Is there any chance to have the language server not crash if it can't access a file? I have some annoying permissions on some containers that I can't change for political reasons. |
Hello @tanc, What kind of data the directory It would be great if you could provide direct steps on how to reproduce this problem. Also, you can try the fork of this extension. I've changed the strategy in such way that the extension does not read all directories on startup. Although the problem may occur on completion inside of |
@tanc Are you sure that this isn't a docker image access issue? |
@kaermorchen I mean it is a docker access issue in the sense that the language server crashes when it doesn't have access to certain folders/files. But in my opinion if the language server is scanning files it can't read then it shouldn't crash, it should gracefully move on. |
@moetelo the |
@tanc How can I reproduce your issue? |
@kaermorchen the simplest repro I can come up with is this:
This will open VSCode in the directory |
Hi, I see this error since installing Modern Twig:
The Twig Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
The full output is:
Note that
[redacted]
in the path is my change for this issue, it actually contains the full path.I have the Modern Twig extension enabled and no other twig extensions.
The text was updated successfully, but these errors were encountered: