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: "generate" command failed: invalid spec, could not load with any of the supported spec types" #534

Open
Furipe09 opened this issue Jul 5, 2024 · 0 comments

Comments

@Furipe09
Copy link

Furipe09 commented Jul 5, 2024

Abri esse item para falar do problema que não conseguiu replicar no #187

No caso do windows, o "error: "generate" command failed: invalid spec, could not load with any of the supported spec types" ocorre por conta do tipo de quebra de linha, que deve estar como CRLF, e para funcionar, deve estar como LF.

No Vscode, é só trocar no canto direito embaixo de CRLF par LF.

Outro adendo. Quando é colocado comentário do lado do código, e a linha fica com um tamanho grande, o mesmo erro ocorre.

*Testei com o docker no windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant