-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Cannot start flutter analyse, dart analyse nor dartanalyzer -h #118
Labels
Comments
have the same issue... |
Let's try to use it. Seems like this case works.
|
@KaioOCarvalho |
This issue is stale because it has been open for 90 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our team is using SonarQube 9.3.0, running on a Ubuntu 20.04 AWS machine and I've added the plugin sonar-flutter-plugin-0.4.0.jar to the plugins folder. We have a mobile flutter project. By the way, our Java is 11.
I'm trying to use it with GitHub, but on every PR, it was showing no code problems. I then checked the terminal on GitHub and saw this:
And a few lines below I've got this:
Caused by: java.io.IOException: Cannot run program "flutter": error=2, No such file or directory
So I think SonarQube is not finding my flutter. But when I run the following, as you can see, I have flutter and dart installed and on my path, and also Java.
Here is my config files:
.github/workflows/build.yml
sonar-project.properties
Changing the sonar.flutter.analyzer.mode to dart or legacy just yielded the same problem for dartanalyser -h and dart analyse.
I'm not sure if this is actually a bug, but I've been trying for days to do it, and I've searched a lot.
The text was updated successfully, but these errors were encountered: