{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/site-webdev/issues/1431","repository_url":"https://api.github.com/repos/dart-lang/site-webdev","labels_url":"https://api.github.com/repos/dart-lang/site-webdev/issues/1431/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/site-webdev/issues/1431/comments","events_url":"https://api.github.com/repos/dart-lang/site-webdev/issues/1431/events","html_url":"https://github.com/dart-lang/site-webdev/issues/1431","id":308406761,"number":1431,"title":"examples/ng/doc/quickstart: main.dart.js not found","user":{"login":"rillomas","id":889809,"avatar_url":"https://avatars2.githubusercontent.com/u/889809?v=4","gravatar_id":"","url":"https://api.github.com/users/rillomas","html_url":"https://github.com/rillomas","followers_url":"https://api.github.com/users/rillomas/followers","following_url":"https://api.github.com/users/rillomas/following{/other_user}","gists_url":"https://api.github.com/users/rillomas/gists{/gist_id}","starred_url":"https://api.github.com/users/rillomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rillomas/subscriptions","organizations_url":"https://api.github.com/users/rillomas/orgs","repos_url":"https://api.github.com/users/rillomas/repos","events_url":"https://api.github.com/users/rillomas/events{/privacy}","received_events_url":"https://api.github.com/users/rillomas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-26T01:27:17Z","updated_at":"2018-03-26T09:44:48Z","closed_at":"2018-03-26T09:44:48Z","author_association":"NONE","body":"I followed the steps on https://github.com/angular-examples/quickstart/tree/5-dev but got a 404 on main.dart.js when viewing from Chrome 65. I used `pub serve` like the following.\r\n\r\n```\r\n$ pub serve --hostname 0.0.0.0\r\nDart 2 will have a new build system. Learn how to migrate from pub build and\r\npub serve: https://webdev.dartlang.org/dart-2\r\n\r\nLoading source assets...\r\nServing angular_app web  on http://0.0.0.0:8080\r\nServing angular_app test on http://0.0.0.0:8081\r\nBuild completed successfully\r\n[web]  GET Served 2 cached assets.\r\n[Info from Dart2JS]:\r\nCompiling angular_app|web/main.dart...\r\n[Error from Dart2JS on angular_app|web/main.dart]:\r\nfile:///home/masato/repo/quickstart/web/main.template.dart: Could not find asset angular_app|web/main.template.dart.\r\n[Info from Dart2JS]:\r\nTook 0:00:00.669565 to compile angular_app|web/main.dart.\r\nBuild completed with 1 errors.\r\n[web]  GET main.dart.js → Could not find asset angular_app|web/main.dart.js.\r\n```\r\n\r\n`pub build` also fails.\r\n\r\n```\r\n$ pub build\r\nDart 2 will have a new build system. Learn how to migrate from pub build and\r\npub serve: https://webdev.dartlang.org/dart-2\r\n\r\nLoading source assets...\r\nBuilding angular_app...\r\n[Info from Dart2JS]:\r\nCompiling angular_app|web/main.dart...\r\n[Error from Dart2JS on angular_app|web/main.dart]:\r\nfile:///home/masato/repo/quickstart/web/main.template.dart: Could not find asset angular_app|web/main.template.dart.\r\n[Info from Dart2JS]:\r\nTook 0:00:00.741319 to compile angular_app|web/main.dart.\r\nBuild failed.\r\n```\r\n\r\n\r\n# environment\r\n## server\r\n- Ubuntu 16.04 x86_64\r\n```\r\n$ pub --version\r\nPub 2.0.0-dev.42.0\r\n$ dart --version\r\nDart VM version: 2.0.0-dev.42.0 (Unknown timestamp) on \"linux_x64\"\r\n```\r\n\r\n## client\r\n- Windows 10 Home x64\r\n- Chrome 65"}}
{"actor":{"display_login":"chalin"}}