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
{{ message }}
Repository navigation
[tool_crash] Invalid argument(s): Cannot find executable for /flutter/bin/cache/artifacts/ #52499
Wiping out the flutter cache will cause the flutter tool to re-try downloading the required cached artifacts when next invoked, which will usually fix the issue.
$ rm -rf <path to flutter installation>/bin/cache
$ flutter run -v# or whatever command you were attempting
Issue
The current caching mechanism in the tool does not guarantee that a cached binary is present before invoking.
Proposed solution
Rather than directly invoking a binary from the flutter cache using processutils, we should have a method on the cache that first checks for the file's existence, and if it isn't there tries to download it first, then invoke.
changed the title [-]Implement process call wrapper methods for cache artifacts that ensures existence[/-][+][tool_crash] Invalid argument(s): Cannot find executable for /flutter/bin/cache/artifacts/[/+]on Apr 8, 2020
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
[-]Implement process call wrapper methods for cache artifacts that ensures existence[/-][+][tool_crash] Invalid argument(s): Cannot find executable for /flutter/bin/cache/artifacts/[/+]github-actions commentedon Jul 11, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.