{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/1914","repository_url":"https://api.github.com/repos/dart-lang/pub","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/1914/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/1914/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/1914/events","html_url":"https://github.com/dart-lang/pub/issues/1914","id":329580325,"node_id":"MDU6SXNzdWUzMjk1ODAzMjU=","number":1914,"title":"pub global run foo results in \"Unable to spawn isolate ... Error: Not found: package:foo/foo.dart\"","user":{"login":"chalin","id":4140793,"node_id":"MDQ6VXNlcjQxNDA3OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/4140793?v=4","gravatar_id":"","url":"https://api.github.com/users/chalin","html_url":"https://github.com/chalin","followers_url":"https://api.github.com/users/chalin/followers","following_url":"https://api.github.com/users/chalin/following{/other_user}","gists_url":"https://api.github.com/users/chalin/gists{/gist_id}","starred_url":"https://api.github.com/users/chalin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chalin/subscriptions","organizations_url":"https://api.github.com/users/chalin/orgs","repos_url":"https://api.github.com/users/chalin/repos","events_url":"https://api.github.com/users/chalin/events{/privacy}","received_events_url":"https://api.github.com/users/chalin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"natebosch","id":7528195,"node_id":"MDQ6VXNlcjc1MjgxOTU=","avatar_url":"https://avatars3.githubusercontent.com/u/7528195?v=4","gravatar_id":"","url":"https://api.github.com/users/natebosch","html_url":"https://github.com/natebosch","followers_url":"https://api.github.com/users/natebosch/followers","following_url":"https://api.github.com/users/natebosch/following{/other_user}","gists_url":"https://api.github.com/users/natebosch/gists{/gist_id}","starred_url":"https://api.github.com/users/natebosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natebosch/subscriptions","organizations_url":"https://api.github.com/users/natebosch/orgs","repos_url":"https://api.github.com/users/natebosch/repos","events_url":"https://api.github.com/users/natebosch/events{/privacy}","received_events_url":"https://api.github.com/users/natebosch/received_events","type":"User","site_admin":false},"assignees":[{"login":"natebosch","id":7528195,"node_id":"MDQ6VXNlcjc1MjgxOTU=","avatar_url":"https://avatars3.githubusercontent.com/u/7528195?v=4","gravatar_id":"","url":"https://api.github.com/users/natebosch","html_url":"https://github.com/natebosch","followers_url":"https://api.github.com/users/natebosch/followers","following_url":"https://api.github.com/users/natebosch/following{/other_user}","gists_url":"https://api.github.com/users/natebosch/gists{/gist_id}","starred_url":"https://api.github.com/users/natebosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natebosch/subscriptions","organizations_url":"https://api.github.com/users/natebosch/orgs","repos_url":"https://api.github.com/users/natebosch/repos","events_url":"https://api.github.com/users/natebosch/events{/privacy}","received_events_url":"https://api.github.com/users/natebosch/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-06-05T18:48:16Z","updated_at":"2018-06-06T18:09:43Z","closed_at":null,"author_association":"NONE","body":"When I try to run globally installed pub commands, I get the following error (not only for stagehand):\r\n\r\n```console\r\n> pub global run stagehand web-angular\r\nUnable to spawn isolate: Error: Could not resolve the package 'stagehand' in 'package:stagehand/stagehand.dart'.\r\nError: Could not resolve the package 'stagehand' in 'package:stagehand/src/cli_app.dart'.\r\npackage:stagehand/stagehand.dart: Error: Not found: package:stagehand/stagehand.dart.\r\n```\r\n\r\nThis is my environment:\r\n\r\n```console\r\n> dart --version\r\nDart VM version: 2.0.0-dev.60.0 (Mon Jun 4 22:09:13 2018 +0200) on \"macos_x64\"\r\n> set | grep DART\r\nDART_VM_OPTIONS=--preview-dart-2\r\n```\r\n\r\nAmong other things, this is breaking the build for site-www -- e.g., see [this Travis log](https://travis-ci.org/dart-lang/site-www/jobs/388409825).\r\n\r\ncc @kevmoo @kwalrath "},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/395162710","html_url":"https://github.com/dart-lang/pub/issues/1914#issuecomment-395162710","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/1914","id":395162710,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTE2MjcxMA==","user":{"login":"natebosch","id":7528195,"node_id":"MDQ6VXNlcjc1MjgxOTU=","avatar_url":"https://avatars3.githubusercontent.com/u/7528195?v=4","gravatar_id":"","url":"https://api.github.com/users/natebosch","html_url":"https://github.com/natebosch","followers_url":"https://api.github.com/users/natebosch/followers","following_url":"https://api.github.com/users/natebosch/following{/other_user}","gists_url":"https://api.github.com/users/natebosch/gists{/gist_id}","starred_url":"https://api.github.com/users/natebosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natebosch/subscriptions","organizations_url":"https://api.github.com/users/natebosch/orgs","repos_url":"https://api.github.com/users/natebosch/repos","events_url":"https://api.github.com/users/natebosch/events{/privacy}","received_events_url":"https://api.github.com/users/natebosch/received_events","type":"User","site_admin":false},"created_at":"2018-06-06T18:09:43Z","updated_at":"2018-06-06T18:09:43Z","author_association":"MEMBER","body":"yeah, latest pub seems to fix this. Pulling it in with https://dart-review.googlesource.com/c/sdk/+/58804"}}
{"actor":{"display_login":"natebosch"}}