Skip to content

FileSystemException: Getting current working directory failed, path = '' (OS Error: Too many open files, errno = 24) #1

Closed
@arden

Description

@arden
weibodeiMac:trace weibo$ flutter run
Launching lib/main.dart on iPhone X in debug mode...
Unhandled exception:
FileSystemException: Getting current working directory failed, path = '' (OS Error: Too many open files, errno = 24)
#0      _uriBaseClosure (dart:io-patch/directory_patch.dart:61)
#1      Uri.base (dart:core-patch/dart:core/uri_patch.dart:20)
#2      current (package:path/path.dart:82)
#3      new Context (package:path/src/context.dart:31)
#4      LocalFileSystem.path (package:file/src/backends/local/local_file_system.dart:26)
#5      _ZipToolBuilder.createZip.<anonymous closure>.<anonymous closure> (package:flutter_tools/src/zip.dart:87)
#6      _rootRunUnary (dart:async/zone.dart:1134)
#7      _CustomZone.runUnary (dart:async/zone.dart:1031)
#8      _FutureListener.handleValue (dart:async/future_impl.dart:129)
#9      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:633)
#10     Future._propagateToListeners (dart:async/future_impl.dart:662)
#11     Future._complete (dart:async/future_impl.dart:467)
#12     _SyncCompleter.complete (dart:async/future_impl.dart:51)
#13     _completeOnAsyncReturn (dart:async-patch/dart:async/async_patch.dart:292)
#14     DevFSByteContent.contentsAsBytes (package:flutter_tools/src/devfs.dart:166)
#15     new Future.microtask.<anonymous closure> (dart:async/future.dart:200)
#16     _rootRun (dart:async/zone.dart:1126)
#17     _CustomZone.run (dart:async/zone.dart:1023)
#18     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:949)
#19     _microtaskLoop (dart:async/schedule_microtask.dart:41)
#20     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#21     _runPendingImmediateCallback (dart:isolate-patch/dart:isolate/isolate_patch.dart:113)
#22     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:166)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions