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

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

Closed
arden opened this issue Apr 13, 2018 · 2 comments

Comments

@arden
Copy link

arden commented Apr 13, 2018

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)
@mak2014
Copy link

mak2014 commented Jul 12, 2018

Run this in the terminal
ulimit -S -n 2048

and try flutter run

For more information on this error see here: flutter/flutter#18225

@zainzafar90
Copy link

Run this in the terminal
ulimit -S -n 2048

and try flutter run

For more information on this error see here: flutter/flutter#18225

Thanks a lot (Y)

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

4 participants