-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
Server initialization failed. #813
Comments
I'm having the same trouble, here is the output of the error in my machine (using wsl2/arch, don't know if the info in relevant)
And the coloring work in some files but not others? |
I have also received that message and, although I don't know if the problem may be related, I fixed it (in vscode) by downgrading the version from gopls@v0.16.0 to gopls@v0.14.0. |
Tanks bro, that helped for now! |
The next version of templ will solve this issue, so going to close this for now, thanks for raising. |
[Error - 7:50:12 PM] Server process exited with code 1.
[Error - 7:50:12 PM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 7:50:12 PM] Connection to server got closed. Server will not be restarted.
[Error - 7:50:12 PM] templ client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
The text was updated successfully, but these errors were encountered: