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
[flutter_tools] PathExistsException when creating plugin symlinks on Windows #190235
On Windows, Link.existsSync() in Dart checks if the symlink target exists, returning false for broken symlinks.
If a broken symlink exists, the tool attempts to create it again, which throws PathExistsException (OS Error 183) because the link entry itself already exists on disk.
We need to robustly check if the link entry exists (without following it) using typeSync(followLinks: false) and delete it before recreating.
Note: This issue was identified as a top-10 crasher in the Flutter stable release version 3.44.8.
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
[flutter_tools] Reference issue flutter#190235 in plugin symlinks reg…
bkonyi commentedon Sep 4, 2026
Fixed in #191496 (commit 00bd762).
github-actions commentedon Sep 18, 2026
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.