Extension issue
See original GitHub issue- Issue Type: 
Bug - Extension Name: 
terraform - Extension Version: 
2.15.0 - OS Version: 
Windows_NT x64 10.0.19043 - VS Code version: 
1.61.0C:\Users\mrpar\Videos\2021-10-12 06_58_41-Microsoft Store.png 
{
	"messages": [],
	"activationTimes": {
		"codeLoadingTime": 51742,
		"activateCallTime": 57,
		"activateResolvedTime": 18381,
		"activationReason": {
			"startup": true,
			"extensionId": {
				"value": "hashicorp.terraform",
				"_lower": "hashicorp.terraform"
			},
			"activationEvent": "workspaceContainsTimeout:**/*.tf"
		}
	},
	"runtimeErrors": [
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		}
	],
	"runningLocation": 1
}
⚠️ We have written the needed data into your clipboard. Please paste! :warni
ng:
Issue Analytics
- State:
 - Created 2 years ago
 - Reactions:2
 - Comments:10 (3 by maintainers)
 
Top Results From Across the Web
Fix problems with apps, extensions, or themes - Chrome ...
If you're having problems with your apps, extensions, and themes, try these steps. If you can't install an app You can no longer...
Read more >How to Fix Chrome Extensions Not Loading or Crashing
As good as it is, sometimes Chrome has some problems. Here's how to fix Chrome extensions that won't load or keep crashing.
Read more >Chrome Extension is Not Working - Copper Help Center
Below you will find some common fixes for any issues you may be experiencing with the Copper Chrome Extension for Gmail. Option 1:...
Read more >Troubleshooting Unexplainable Problems With Browser ...
Some browser extensions can cause login and other issues with Plan to Eat. The instructions here will help you test your extensions.
Read more >Chrome Extension Issue | Blue Prism University
There are many threads existing on this topic, yet none seem to contain a ... Issue: Blue Prism returns error: 'Chrome browser extension...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Ay,
I’ve tested again this time by opening vscode directly in my terraform folder and it seems working fine on my side…
Eg. :
(base) krustyhack@KrustyMSI:~/Development/MyProject/$ code .=> Terraform extensions is broken(base) krustyhack@KrustyMSI:~/Development/MyProject/$ code terraform/=> Terraform extension works fineLooks like vscode must be started in the directory where TF files live.
Thanks a lot for the stack trace, @GreeFine.
The good news is, we fixed the error you posted within the upcoming 2.17.0 release of the extension.
The bad news is that we couldn’t cut a release for 2.17.0 yet; it will take us a few more days.