-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Exception from analysis server (running from VSCode / Dart Code), FileSystemException: Directory watcher closed unexpectedly #38853
Comments
Possible related to #37233. |
@stereotype441, could you take a look at this and see if there needs to be changes made to the analyzer. Seeing quite a few reports with this exception in bleeding edge. |
This was fixed in dart-lang/watcher#75 plus https://dart-review.googlesource.com/c/sdk/+/125765 I am closing, but if we see this occur again with a newer SDK we can reopen. |
@MichaelRFairhurst apparently this issue was seen again with Dart 2.7.0 so I am reopening this issue for investigation. |
Closing, none of those 2.7 versions include the fix. |
@MichaelRFairhurst can you indicate which version of the Dart SDK has the fix, if none of the 2.7 versions has a fix maybe we need to cherry pick this fix and make a release. |
The same issue occurs in Dart SDK 2.17.3. Socket error: FileSystemException: Directory watcher closed unexpectedly Flutter Doctor output: Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [√] Chrome - develop for the web [√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.15) [√] Android Studio (version 2021.2) [√] VS Code (version 1.68.0) [√] Connected device (4 available) [√] HTTP Host Availability • No issues found! |
@RB-93 - can you file a new issue? What you're seeing is almost certainly a different problem - this was closed several years ago. Thanks! |
What I was doing
Just loaded a new project, jumped via F12 into vector2.dart and was navigating there through code by F12 and Alt + <- ->
Versions
Analyzer Info
The analyzer was launched using the arguments:
Exception (fatal)
Failed to handle request: {id: 6, method: analysis.setAnalysisRoots, params: {excluded: [], included: [C:\Entwicklung\projects\Aaronia\trunk\Sources\RTSAMobileDev\aartos, C:\Entwicklung\projects\Aaronia\trunk\Sources\RTSAMobileDev\packages\rtsa_map]}, clientRequestTime: 1570888657966}
Diagnostics requested after the error occurred are:
The text was updated successfully, but these errors were encountered: