-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Running error: context loading failed: package github.com/golangci/golangci-lint/pkg/commands: no go files to analyze #916
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
Comments
@Anjana-Prabhakar: What's the output when adding the environment variables |
@Dominik-K Thanks for the response. I added the variables to .bashrc. The error remains the same though. |
@Anjana-Prabhakar There should be more output now. Can you paste it here, please? |
@Dominik-K I am sorry but its still the same one line error that i get.
to ~/.bashrc , followed by the command |
@Anjana-Prabhakar Yes, that should be sufficient. You can also add these environments before the |
Probably a duplicate of #825. |
Duplicate of #825 |
Thank you for creating the issue!
Please include the following information:
Version of golangci-lint
```console $ golangci-lint --version golangci-lint has version (devel) built from (unknown, mod sum: "") on (unknown) ```Config file
Go environment
Verbose output of running
The text was updated successfully, but these errors were encountered: