google / streamy-dart

Apache License 2.0
60 stars 23 forks source link

"Could not resolve package location..." while running the tutorial #291

Open alexeieleusis opened 8 years ago

alexeieleusis commented 8 years ago

Just after cloning the repo, the very first command I ran gave the following error:

$ dart bin/apigen.dart --discovery-file=urlshortener.json --client-file-name=urlshortener --output-  dir=urlshortener
Unhandled exception:
Could not resolve a package location for base at     file://.../streamy-dart/bin/apigen.dart
#0      _handlePackagesReply (dart:_builtin:416)
#1      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:150)

Seems similar to this: fails to run after global activation: could not resolve a package location.