{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/angular/issues/1393","repository_url":"https://api.github.com/repos/dart-lang/angular","labels_url":"https://api.github.com/repos/dart-lang/angular/issues/1393/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/angular/issues/1393/comments","events_url":"https://api.github.com/repos/dart-lang/angular/issues/1393/events","html_url":"https://github.com/dart-lang/angular/issues/1393","id":330855622,"node_id":"MDU6SXNzdWUzMzA4NTU2MjI=","number":1393,"title":"NoSuchMethodError: Class 'CompilerFlags' has no instance getter 'useNewPreserveWhitespace'.","user":{"login":"chstrong","id":6489758,"node_id":"MDQ6VXNlcjY0ODk3NTg=","avatar_url":"https://avatars1.githubusercontent.com/u/6489758?v=4","gravatar_id":"","url":"https://api.github.com/users/chstrong","html_url":"https://github.com/chstrong","followers_url":"https://api.github.com/users/chstrong/followers","following_url":"https://api.github.com/users/chstrong/following{/other_user}","gists_url":"https://api.github.com/users/chstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/chstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chstrong/subscriptions","organizations_url":"https://api.github.com/users/chstrong/orgs","repos_url":"https://api.github.com/users/chstrong/repos","events_url":"https://api.github.com/users/chstrong/events{/privacy}","received_events_url":"https://api.github.com/users/chstrong/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-06-09T05:39:40Z","updated_at":"2018-06-09T18:06:39Z","closed_at":"2018-06-09T06:01:10Z","author_association":"NONE","body":"General Details\r\n--------------------------------------------------------------\r\nMacOS: 10.13.4 (High Sierra)\r\nDart Version: 2.0.0-dev.60.0\r\nQuickstart URL: https://github.com/angular-examples/quickstart\r\nUsing command line, not Webstorm\r\n\r\npubspec.yaml:\r\n--------------------------------------------------------------\r\n```\r\nname: angular_app\r\ndescription: A web app that uses AngularDart\r\nversion: 0.0.1\r\n\r\nenvironment:\r\n  sdk: '>=2.0.0-dev.56.0 <2.0.0'\r\n\r\ndependencies:\r\n  angular: ^5.0.0-alpha\r\n\r\ndev_dependencies:\r\n  angular_test: ^2.0.0-alpha\r\n  build_runner: ^0.8.8\r\n  build_test: ^0.10.2\r\n  build_web_compilers: ^0.4.0\r\n  test: ^0.12.30\r\n```\r\nCommands\r\n---------------------------------------------------------------------\r\ngit clone https://github.com/angular-examples/quickstart\r\ncd quickstart\r\npub get\r\nwebdev serve\r\n\r\nOutput pub get\r\n---------------------------------------------------------------------\r\ncharms:quickstart$ pub get\r\nResolving dependencies... (26.4s)\r\nOverriding the upper bound Dart SDK constraint to <=2.0.0-dev.60.0 for the following packages:\r\n\r\nargs, boolean_selector, charcode, cli_util, convert, dart_style, fixnum, front_end, glob, graphs, http, http_parser, intl, io, isolate, js, kernel, logging, meta, multi_server_socket, node_preamble, package_config, plugin, pub_semver, quiver, quiver_hashcode, shelf_packages_handler, source_map_stack_trace, source_maps, source_span, stack_trace, string_scanner, term_glyph, tuple, typed_data\r\n\r\nTo disable this you can set the PUB_ALLOW_PRERELEASE_SDK system environment variable to `false`, or you can silence this message by setting it to `quiet`.\r\n+ analyzer 0.31.1 (0.32.1 available)\r\n+ angular 5.0.0-alpha+11 (5.0.0-alpha+14 available)\r\n+ angular_ast 0.5.3+2\r\n+ angular_compiler 0.4.0-alpha+14\r\n+ angular_test 2.0.0-alpha+9 (2.0.0-alpha+12 available)\r\n+ archive 2.0.0\r\n+ args 1.4.3\r\n+ async 2.0.7\r\n+ bazel_worker 0.1.10\r\n+ boolean_selector 1.0.3\r\n+ build 0.12.6\r\n+ build_config 0.3.0\r\n+ build_modules 0.2.2+6\r\n+ build_resolvers 0.2.0+2\r\n+ build_runner 0.8.10\r\n+ build_runner_core 0.1.0\r\n+ build_test 0.10.2+4\r\n+ build_web_compilers 0.4.0+4\r\n+ built_collection 3.1.1\r\n+ built_value 5.5.1\r\n+ charcode 1.1.1\r\n+ cli_util 0.1.3\r\n+ code_builder 3.1.0\r\n+ collection 1.14.9\r\n+ convert 2.0.1\r\n+ crypto 2.0.3\r\n+ csslib 0.14.4\r\n+ dart_style 1.0.9+1 (1.0.14 available)\r\n+ fixnum 0.10.7\r\n+ front_end 0.1.0-alpha.9 (0.1.1 available)\r\n+ glob 1.1.5\r\n+ graphs 0.1.2\r\n+ html 0.13.3+1\r\n+ http 0.11.3+16\r\n+ http_multi_server 2.0.5\r\n+ http_parser 3.1.2\r\n+ intl 0.15.6\r\n+ io 0.3.2+1\r\n+ isolate 1.1.0 (2.0.1 available)\r\n+ js 0.6.1\r\n+ json_annotation 0.2.8\r\n+ kernel 0.3.0-alpha.9 (0.3.1 available)\r\n+ logging 0.11.3+1\r\n+ matcher 0.12.2+1\r\n+ meta 1.1.5\r\n+ mime 0.9.6+1\r\n+ multi_server_socket 1.0.1\r\n+ node_preamble 1.4.2\r\n+ package_config 1.0.3\r\n+ package_resolver 1.0.3\r\n+ path 1.6.0\r\n+ plugin 0.2.0+2\r\n+ pool 1.3.5\r\n+ protobuf 0.8.0 (0.9.0 available)\r\n+ pub_semver 1.4.1\r\n+ pubspec_parse 0.1.1\r\n+ quiver 0.29.0+1\r\n+ quiver_hashcode 1.0.0\r\n+ scratch_space 0.0.2+1\r\n+ shelf 0.7.3+1\r\n+ shelf_packages_handler 1.0.3\r\n+ shelf_static 0.2.7+1\r\n+ shelf_web_socket 0.2.2+2\r\n+ source_gen 0.8.1+3\r\n+ source_map_stack_trace 1.1.4\r\n+ source_maps 0.10.5\r\n+ source_span 1.4.0\r\n+ stack_trace 1.9.2\r\n+ stream_channel 1.6.7\r\n+ stream_transform 0.0.13\r\n+ string_scanner 1.0.2\r\n+ term_glyph 1.0.0\r\n+ test 0.12.40\r\n+ tuple 1.0.1\r\n+ typed_data 1.1.5\r\n+ utf 0.9.0+4\r\n+ watcher 0.9.7+8\r\n+ web_socket_channel 1.0.8\r\n+ yaml 2.1.14\r\nChanged 79 dependencies!\r\nPrecompiling executables... (1.8s)\r\nPrecompiled build_runner:graph_inspector.\r\nPrecompiled test:test.\r\nPrecompiled build_runner:build_runner.\r\n\r\nOutput Webdev Serve\r\n-------------------------------------------------------------------------------\r\ncharms:quickstart$ webdev serve\r\n[INFO] Setting up file watchers completed, took 41ms\r\n[INFO] Waiting for all file watchers to be ready completed, took 192ms\r\n[INFO] Building new asset graph completed, took 1.4s\r\n[INFO] Checking for unexpected pre-existing outputs. completed, took 2ms\r\n[SEVERE] angular on lib/app_component.dart:\r\nUnhandled exception in the AngularDart compiler!\r\n\r\nPlease report a bug: https://github.com/dart-lang/angular/issues/new\r\nNoSuchMethodError: Class 'CompilerFlags' has no instance getter 'useNewPreserveWhitespace'.\r\nReceiver: Instance of 'CompilerFlags'\r\nTried calling: useNewPreserveWhitespace\r\n[SEVERE] build_web_compilers|entrypoint on web/main.dart:\r\nUnable to find modules for some sources, this is usually the result of either a\r\nbad import, a missing dependency in a package (or possibly a dev_dependency\r\nneeds to move to a real dependency), or a build failure (if importing a\r\ngenerated file).\r\n\r\nPlease check the following imports:\r\n\r\n`import 'package:angular_app/app_component.template.dart' as ng;` from angular_app|web/main.dart at 2:1\r\n\r\n[SEVERE] build_web_compilers|entrypoint on test/app_test.dart:\r\nUnable to find modules for some sources, this is usually the result of either a\r\nbad import, a missing dependency in a package (or possibly a dev_dependency\r\nneeds to move to a real dependency), or a build failure (if importing a\r\ngenerated file).\r\n\r\nPlease check the following imports:\r\n\r\n`import 'package:angular_app/app_component.template.dart' as ng;` from angular_app|test/app_test.dart at 4:1\r\n\r\n[SEVERE] build_web_compilers|entrypoint on test/app_test.dart.browser_test.dart:\r\nUnable to find modules for some sources, this is usually the result of either a\r\nbad import, a missing dependency in a package (or possibly a dev_dependency\r\nneeds to move to a real dependency), or a build failure (if importing a\r\ngenerated file).\r\n\r\nPlease check the following imports:\r\n\r\n`import 'package:angular_app/app_component.template.dart' as ng;` from angular_app|test/app_test.dart at 4:1\r\n\r\n[INFO] Running build completed, took 17.8s\r\n[INFO] Caching finalized dependency graph completed, took 295ms\r\n[INFO] Succeeded after 18.1s with 402 outputs (2420 actions)\r\nServing `web` on http://localhost:8080\r\nServing `test` on http://localhost:8081\r\n\r\n\r\nOutput webdev serve second attempt (no error)\r\n--------------------------------------------------------------------------\r\ncharms:quickstart$ webdev serve\r\n[INFO] Setting up file watchers completed, took 44ms\r\n[INFO] Waiting for all file watchers to be ready completed, took 191ms\r\n[INFO] Reading cached asset graph completed, took 449ms\r\n[INFO] Checking for updates since last build completed, took 755ms\r\n[INFO] Running build completed, took 239ms\r\n[INFO] Caching finalized dependency graph completed, took 204ms\r\n[INFO] Succeeded after 455ms with 0 outputs (0 actions)\r\nServing `web` on http://localhost:8080\r\nServing `test` on http://localhost:8081\r\n\r\nBrowser result on http://localhost:8080 - runs no further than \"Loading...\"\r\n-------------------------------------------------------------------------\r\nLoading..."},"comment":{"url":"https://api.github.com/repos/dart-lang/angular/issues/comments/395988375","html_url":"https://github.com/dart-lang/angular/issues/1393#issuecomment-395988375","issue_url":"https://api.github.com/repos/dart-lang/angular/issues/1393","id":395988375,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTk4ODM3NQ==","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},"created_at":"2018-06-09T18:06:39Z","updated_at":"2018-06-09T18:06:39Z","author_association":"COLLABORATOR","body":"I don't know when angular_components +14 will be released, so in the meantime, I've updated all example apps to have +13 as the minimal version."}}
{"actor":{"display_login":"chalin"}}