{"action":"opened","issue":{"url":"https://api.github.com/repos/dart-lang/build/issues/1194","repository_url":"https://api.github.com/repos/dart-lang/build","labels_url":"https://api.github.com/repos/dart-lang/build/issues/1194/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/build/issues/1194/comments","events_url":"https://api.github.com/repos/dart-lang/build/issues/1194/events","html_url":"https://github.com/dart-lang/build/issues/1194","id":307405170,"number":1194,"title":" Heroku (Ubuntu 16) build fails with latest Dart SDK ","user":{"login":"johnpryan","id":1145719,"avatar_url":"https://avatars3.githubusercontent.com/u/1145719?v=4","gravatar_id":"","url":"https://api.github.com/users/johnpryan","html_url":"https://github.com/johnpryan","followers_url":"https://api.github.com/users/johnpryan/followers","following_url":"https://api.github.com/users/johnpryan/following{/other_user}","gists_url":"https://api.github.com/users/johnpryan/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpryan/subscriptions","organizations_url":"https://api.github.com/users/johnpryan/orgs","repos_url":"https://api.github.com/users/johnpryan/repos","events_url":"https://api.github.com/users/johnpryan/events{/privacy}","received_events_url":"https://api.github.com/users/johnpryan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-21T20:25:38Z","updated_at":"2018-03-21T20:25:38Z","closed_at":null,"author_association":"NONE","body":"I have a [buildpack](https://github.com/johnpryan/heroku-buildpack-dart) I would like to use with the new build/ package, but need to add the `--use-old-frontend` flag in order to get it to work properly.\r\n\r\n\r\n```\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\nError: Could not resolve the package 'angular' in 'package:angular/angular.dart'.\r\n```\r\n\r\nWith the `--use-old-frontend` flag it works:\r\n\r\n```\r\n[INFO] build_web_compilers|entrypoint on web/main.dart:Running dart2js with --fast-startup --minify --trust-type-annotations --trust-primitives --use-old-frontend -ppackages -oweb/main.dart.js web/main.dart\r\n[INFO] 39.4s elapsed, 1552/1553 actions completed.\r\n[INFO] 40.5s elapsed, 1552/1553 actions completed.\r\n[INFO] 41.6s elapsed, 1552/1553 actions completed.\r\n[INFO] 42.7s elapsed, 1552/1553 actions completed.\r\n[INFO] 43.8s elapsed, 1552/1553 actions completed.\r\n[INFO] 44.9s elapsed, 1552/1553 actions completed.\r\n[INFO] 46.0s elapsed, 1552/1553 actions completed.\r\n[INFO] 47.1s elapsed, 1552/1553 actions completed.\r\n[INFO] 48.2s elapsed, 1552/1553 actions completed.\r\n[INFO] 49.3s elapsed, 1552/1553 actions completed.\r\n[INFO] 50.4s elapsed, 1552/1553 actions completed.\r\n[INFO] 51.5s elapsed, 1552/1553 actions completed.\r\n[INFO] 52.6s elapsed, 1552/1553 actions completed.\r\n[INFO] 53.7s elapsed, 1552/1553 actions completed.\r\n[INFO] 54.8s elapsed, 1552/1553 actions completed.\r\n[INFO] 55.9s elapsed, 1552/1553 actions completed.\r\n[INFO] 57.0s elapsed, 1552/1553 actions completed.\r\n[INFO] 58.1s elapsed, 1552/1553 actions completed.\r\n[INFO] 59.2s elapsed, 1552/1553 actions completed.\r\n[INFO] 1m 0s elapsed, 1552/1553 actions completed.\r\n[INFO] 1m 1s elapsed, 1552/1553 actions completed.\r\n[INFO] 1m 2s elapsed, 1552/1553 actions completed.\r\n[INFO] 1m 3s elapsed, 1552/1553 actions completed.\r\n[INFO] build_web_compilers|entrypoint on web/main.dart:Dart2Js finished with:\r\nHint: 1 hint(s) suppressed in package:angular_components.\r\nHint: 1 hint(s) suppressed in package:angular.\r\nCompiled 8,046,224 characters Dart to 845,758 characters JavaScript in 24.9 seconds\r\nDart file (web/main.dart) compiled to JavaScript: web/main.dart.js\r\n[INFO] Running build completed, took 1m 4s\r\n[INFO] Caching finalized dependency graph...\r\n[INFO] Caching finalized dependency graph completed, took 227ms\r\n[INFO] Creating merged output dir `build`...\r\n[INFO] Creating merged output dir `build` completed, took 2.9s\r\n[INFO] Writing asset manifest...\r\n[INFO] Writing asset manifest completed, took 2ms\r\n[INFO] Succeeded after 1m 7s with 1465 outputs\r\n```\r\n\r\nI believe this is using the [Heroku-16](https://devcenter.heroku.com/articles/heroku-16-stack) stack (ubuntu 16)\r\n"}}
{"actor":{"display_login":"johnpryan"}}