-
Notifications
You must be signed in to change notification settings - Fork 137
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
Terraform-ls crashing while trying to retrieve schema #156
Comments
Hi @oba11 Thanks. |
Hello @radeksimko apologies for not coping the complete log, I've updated the log output in the issue description. Thank you |
I believe this line is the most relevant:
Generally that error should have been surfaced to the UI somehow - not sure if it was or why it wasn't. We'd like to avoid reporting this state in the future entirely as per #83 which might also explain why this is happening.
That is true - it is a use case we intend to support, but there's some work that needs to happen first. With that I hope you don't mind me closing this issue as a duplicate of #32 The easiest workaround for now is to only open the actual workspaces with |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Server Version
Terraform Version
Client Version
Terraform Configuration Files
project/example/main.tf
Log Output
Expected Behavior
terraform-ls
shouldn't crash when.tf
files are not in sublime project root folder (i.e project/example/main.tf
)terraform-ls
works if the.tf
file is in the sublime project folder (i.e project/main.tf
)Actual Behavior
I believe
terraform-ls
should work when.tf
files are not in the project root folder.Steps to Reproduce
project
directory (created above) and Click on Openproject
directory in the sidebar and create a file calledmain.tf
inexample
directory.terraform-ls
logs in/tmp/
folderThe text was updated successfully, but these errors were encountered: