Skip to content
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

[Unexpected Error, Required plugins are not installed] Issue with plugins #26

Open
jcotoBan opened this issue Mar 26, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@jcotoBan
Copy link

When i try to generate the live graph i get an error about inconsistency between plugins installed on provider and packages on the dependency lock file.

Steps to reproduce the behavior:

  1. CRTL+SHIFT+P
  2. Look for Terraform Graph view and click it
  3. See error

Expected behavior
Graph should be generated.

Screenshots
Screen Shot 2023-03-26 at 9 06 58 AM

Versions (please complete the following information):

  • OS: macOS Monterey 12.6.1
  • VSCode Version: 1.76.2
  • Terraform Live Graph Extension for VSCode Version: v0.0.5
  • Terraform Version: 1.4.2

Additional context
I am using Linode provider. https://registry.terraform.io/providers/linode/linode/latest/docs. I was using latest version, but noticed the error always mentioned version 1.29.2, so i switched to that version to see if that fixed something, but still getting the error.

I deleted all .terraform* and terraform.tfstate* several times and run terraform init, but it didnt work.

@jcotoBan jcotoBan added the bug Something isn't working label Mar 26, 2023
@adamiBs
Copy link
Owner

adamiBs commented Mar 26, 2023

Hi thanks for filing an issue. Have you initialized the project with terraform init successfully?

@jcotoBan
Copy link
Author

@adamiBs Sure. Yes, terraform init runs successfully.

@elvis2
Copy link

elvis2 commented Jun 5, 2023

I too had a similar issue:

Unexpected error: �[31m�[31m╷�[0m�[0m �[31m│�[0m �[0m�[1m�[31mError: �[0m�[0m�[1mModule not installed�[0m �[31m│�[0m �[0m �[31m│�[0m �[0m�[0m on /../modules/_tags.tf line 2: �[31m│�[0m �[0m 2: �[4mmodule "tags"�[0m {�[0m �[31m│�[0m �[0m �[31m│�[0m �[0mThis module is not yet installed. Run "terraform init" to install all �[31m│�[0m �[0mmodules required by this configuration. �[31m╵�[0m�[0m �[0m�[0m

The module it is complaining about has been installed. I've even written a plan to json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants