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

Azure Dev Ops build error #128

Open
LiTe1991 opened this issue Nov 12, 2024 · 0 comments
Open

Azure Dev Ops build error #128

LiTe1991 opened this issue Nov 12, 2024 · 0 comments

Comments

@LiTe1991
Copy link

LiTe1991 commented Nov 12, 2024

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

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