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

Error executing command: unable to generate website: configuration is invalid #169

Closed
cloud-j-luna opened this issue Jul 11, 2022 · 2 comments

Comments

@cloud-j-luna
Copy link

I get the error Error executing command: unable to generate website: configuration is invalid when running go generate on my provider.

I have the following structure in the examples folder
image
and the following comment in my main.go

//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs --provider-name=<my provider hostname/namespace/type>

I'm running the command in the root directory of the provider.

Any clues on what can be happening? The logs say some configuration is invalid, I'm not really sure which one.
Thank you.

@lrstanley
Copy link

Hello @cloud-j-luna, if #174 is merged, it may help improve the error output for you to troubleshoot this further. I believe another issue could be related to --provider-name. For example, if your provider is domain.com/project/my-provider-here, what should be passed into --provider-name is my-provider-here.

@cloud-j-luna cloud-j-luna closed this as not planned Won't fix, can't repro, duplicate, stale Feb 12, 2023
Copy link

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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants