{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/angular/issues/1166","repository_url":"https://api.github.com/repos/dart-lang/angular","labels_url":"https://api.github.com/repos/dart-lang/angular/issues/1166/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/angular/issues/1166/comments","events_url":"https://api.github.com/repos/dart-lang/angular/issues/1166/events","html_url":"https://github.com/dart-lang/angular/issues/1166","id":310059258,"number":1166,"title":"Could not resolve the package 'angular'","user":{"login":"Cododoc","id":861256,"avatar_url":"https://avatars1.githubusercontent.com/u/861256?v=4","gravatar_id":"","url":"https://api.github.com/users/Cododoc","html_url":"https://github.com/Cododoc","followers_url":"https://api.github.com/users/Cododoc/followers","following_url":"https://api.github.com/users/Cododoc/following{/other_user}","gists_url":"https://api.github.com/users/Cododoc/gists{/gist_id}","starred_url":"https://api.github.com/users/Cododoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cododoc/subscriptions","organizations_url":"https://api.github.com/users/Cododoc/orgs","repos_url":"https://api.github.com/users/Cododoc/repos","events_url":"https://api.github.com/users/Cododoc/events{/privacy}","received_events_url":"https://api.github.com/users/Cododoc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-30T12:54:00Z","updated_at":"2018-03-30T14:42:33Z","closed_at":null,"author_association":"NONE","body":"When I try to build progject on new version of Dart I have error \"Could not resolve the package 'angular'\"\r\n\r\nRun as `pub run build_runner build --config release --output build`\r\n\r\n**build.release.yaml**\r\n```\r\ntargets:\r\n  $default:\r\n    sources:\r\n      - lib/**\r\n      - web/**\r\n    builders:\r\n      config_budget:\r\n        options:\r\n          mode: release\r\n      build_web_compilers|entrypoint:\r\n        generate_for:\r\n        - web/**.dart\r\n        options:\r\n          compiler: dart2js\r\n          dart2js_args:\r\n          - --fast-startup\r\n          - --minify\r\n          - --trust-type-annotations\r\n          - --trust-primitives\r\n```\r\n\r\nI can build and serve project using command `pub run build_runner serve`\r\n\r\nIt build correct on dart version 2.0.0-dev.36.0.\r\n\r\n---\r\n\r\nDart VM version: 2.0.0-dev.43.0 (Wed Mar 28 01:04:15 2018 +0200) on \"windows_x64\"\r\nAngular 5.0.0-alpha+9\r\nWindows\r\nOutput:\r\n```\r\n[WARNING] Throwing away cached asset graph due to Dart SDK update.\r\n[INFO] build_web_compilers|entrypoint on web/main.dart:Running dart2js with --fast-startup --minify --trust-type-annotations --trust-primitives -ppackages -oweb/main.dart.js web/main.dart\r\n[SEVERE] build_web_compilers|entrypoint on web/main.dart:\r\nDart2Js finished with:\r\n\r\nError: Could not resolve the package 'angular' in 'package:angular/angular.dart'.\r\nError: Could not resolve the package 'angular_router' in 'package:angular_router/angular_router.dart'.\r\nError: Could not resolve the package 'angular' in 'package:angular/src/bootstrap/run.dart'.\r\nError: Could not resolve the package 'budget' in 'package:budget/app_component.dart'.\r\nError: Could not resolve the package 'budget' in 'package:budget/app_component.template.dart'.\r\nError: Could not resolve the package 'http' in 'package:http/browser_client.dart'.\r\nError: Could not resolve the package 'budget' in 'package:budget/src/security/security.service.dart'.\r\npackage:angular/angular.dart@0+1:\r\nError: Not found: package:angular/angular.dart.\r\nError: Compilation failed.\r\n\r\n[INFO] Succeeded after 57.1s with 1299 outputs\r\n```"},"comment":{"url":"https://api.github.com/repos/dart-lang/angular/issues/comments/377538710","html_url":"https://github.com/dart-lang/angular/issues/1166#issuecomment-377538710","issue_url":"https://api.github.com/repos/dart-lang/angular/issues/1166","id":377538710,"user":{"login":"zoechi","id":405837,"avatar_url":"https://avatars0.githubusercontent.com/u/405837?v=4","gravatar_id":"","url":"https://api.github.com/users/zoechi","html_url":"https://github.com/zoechi","followers_url":"https://api.github.com/users/zoechi/followers","following_url":"https://api.github.com/users/zoechi/following{/other_user}","gists_url":"https://api.github.com/users/zoechi/gists{/gist_id}","starred_url":"https://api.github.com/users/zoechi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoechi/subscriptions","organizations_url":"https://api.github.com/users/zoechi/orgs","repos_url":"https://api.github.com/users/zoechi/repos","events_url":"https://api.github.com/users/zoechi/events{/privacy}","received_events_url":"https://api.github.com/users/zoechi/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T14:42:33Z","updated_at":"2018-03-30T14:42:33Z","author_association":"NONE","body":"have you tried running `pub get`?"}}
{"actor":{"display_login":"zoechi"}}