Skip to content

fails to run after global activation: could not resolve a package location #816

@sethladd

Description

@sethladd

Running dartdoc 0.5.0 after a pub global activate:

~/tmp/docs $ dartdoc --sdk-docs
Generating documentation for 'Dart SDK' into /Users/sethladd/tmp/docs/doc/api/

Parsed 18 files in 9.3 seconds.

Unhandled exception:
Could not resolve a package location for base at file:///Users/sethladd/.pub-cache/global_packages/dartdoc/bin/dartdoc.dart.snapshot
#0      _handlePackagesReply (dart:_builtin:416)
#1      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:148)

Metadata

Metadata

Assignees

Labels

P0A serious issue requiring immediate resolutiontype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions