You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using your task in our build on an Azure DevOps server.
Often, we get the error: Error: No pubspec.yaml file found. This command should be run from the root of your Flutter project.
I have rechecked it often, and we are in the right folder where I can find a pubspec.yaml. Our current fix is to delete the Flutter folder under the tools directory per agent. After that, the task downloads a fresh version, and with this one, we are able to execute build 2-3 times before needing to repeat the process.
Additionally, we sometimes need to clear the Gradle cache or pub cache before the build works again with the process from above.
Best regards
The text was updated successfully, but these errors were encountered:
Hi,
We are using your task in our build on an Azure DevOps server.
Often, we get the error:
Error: No pubspec.yaml file found. This command should be run from the root of your Flutter project.
I have rechecked it often, and we are in the right folder where I can find a pubspec.yaml. Our current fix is to delete the Flutter folder under the tools directory per agent. After that, the task downloads a fresh version, and with this one, we are able to execute build 2-3 times before needing to repeat the process.
Additionally, we sometimes need to clear the Gradle cache or pub cache before the build works again with the process from above.
Best regards
The text was updated successfully, but these errors were encountered: