-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
templ-vscode: Request textDocument/codeLens failed error #426
Comments
also having the same issue with an empty |
Having the same errors when a |
Was able to reproduce it when creating a new file |
Experiencing this too, while a |
Same issue. I switched the extension version to 0.0.7 and the issue did not appear but autocompletion and definitions stopped working. |
Can confirm the issue |
We have a troubleshooting guide here aimed at getting the most useful logs when these issues happen. Would greatly help if you could run through the steps @RaniAgus https://templ.guide/commands-and-tools/ide-support#troubleshooting-1 |
Hi all, after some digging, I think that this is an issue with the extension being able to find |
Same here |
I think this issue is going to be stuck until someone can provide logs or a solid reproduction. If you can enable logs, and you've got a solid reproduction @EduartePaiva - please do! |
Sorry for not providing any kind of useful info, I'll try to detail the troubleshooting steps: System: windows wsl, I went to my project folder and typed
output
gopls.log:
templ.log:
|
So, after checking my error seems to be caused by templ not been able to call the go command?, then I removed the go path from .profile that the official go installation recommend and then added directly to my .zshrc file and everything worked fine. I'm new to go and linux so I don't really know what happened. |
i added export PATH=$PATH:/usr/local/go/bin to both .bashrc and .profile and it fixed it for me on debian WSL |
I'm not really sure on how to reproduce this, but after working on a project for quite some time I'm getting this error every time I focus on a templ file:
The only way I found to solve it is to reboot my machine. Uninstalling and reinstalling the plugin doesn't work.
The text was updated successfully, but these errors were encountered: