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

den fetch autocomplete throws without pubspec #40

Open
mockturtl opened this issue Jul 12, 2015 · 0 comments
Open

den fetch autocomplete throws without pubspec #40

mockturtl opened this issue Jul 12, 2015 · 0 comments

Comments

@mockturtl
Copy link

~ $ den fetch dar^IUnhandled exception:
Uncaught Error: Invalid argument(s): No package root (containing pubspec.yaml) found in hierarchy of path: /home/me
Stack Trace:
#0      Pubspec._getPackageRoot (package:den_api/src/pubspec.dart:336)
#1      Pubspec.load (package:den_api/src/pubspec.dart:187)
#2      getHostedDependencyNames (package:den/src/util.dart:40)
#3      _getCompletionsForAllowed.<anonymous closure> (package:unscripted/src/plugins/completion/usage_completion.dart:141)
#4      Future.Future.sync (dart:async/future.dart:168)
#5      _getCompletionsForAllowed (package:unscripted/src/plugins/completion/usage_completion.dart:139)
#6      getUsageCompletions.<anonymous closure> (package:unscripted/src/plugins/completion/usage_completion.dart:117)
#7      Future.Future.sync (dart:async/future.dart:168)
#8      getUsageCompletions (package:unscripted/src/plugins/completion/usage_completion.dart:11)
#9      _getCompletionOutput (package:unscripted/src/plugins/completion/completion.dart:158)
#10     CompletionAdapter._complete.<anonymous closure> (package:unscripted/src/plugins/completion/completion.dart:73)
#11     Future.Future.sync (dart:async/future.dart:168)
#12     CompletionAdapter._complete (package:unscripted/src/plugins/completion/completion.dart:64)
#13     CompletionAdapter.onParse (package:unscripted/src/plugins/completion/completion.dart:55)
#14     Completion.onParse (package:unscripted/src/plugins/completion/completion.dart:29)
#15     ScriptImpl.execute.<anonymous closure> (package:unscripted/src/script_impl.dart:34)
#16     ListIterable.every (dart:_internal/iterable.dart:78)
#17     ScriptImpl.execute (package:unscripted/src/script_impl.dart:34)
#18     main (http://localhost:49507/den.dart:6)
#19     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:259)
#20     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)

#0      _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:895)
#1      _microtaskLoop (dart:async/schedule_microtask.dart:43)
#2      _microtaskLoopEntry (dart:async/schedule_microtask.dart:52)
#3      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)
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

1 participant