{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/1344","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/1344/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/1344/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/1344/events","html_url":"https://github.com/dart-lang/pub/issues/1344","id":111525095,"number":1344,"title":"Failed to load resource: index.bootstrap.initializer.dart","user":{"login":"raphway","id":7062203,"avatar_url":"https://avatars.githubusercontent.com/u/7062203?v=3","gravatar_id":"","url":"https://api.github.com/users/raphway","html_url":"https://github.com/raphway","followers_url":"https://api.github.com/users/raphway/followers","following_url":"https://api.github.com/users/raphway/following{/other_user}","gists_url":"https://api.github.com/users/raphway/gists{/gist_id}","starred_url":"https://api.github.com/users/raphway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphway/subscriptions","organizations_url":"https://api.github.com/users/raphway/orgs","repos_url":"https://api.github.com/users/raphway/repos","events_url":"https://api.github.com/users/raphway/events{/privacy}","received_events_url":"https://api.github.com/users/raphway/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-15T01:09:11Z","updated_at":"2015-10-15T01:15:27Z","closed_at":"2015-10-15T01:15:27Z","body":"I used `pub build` on a Dart project, and it generated an `index.html` and an `index.bootstrap.initializer.dart.js` among other files.\r\n\r\nWhen I tried to run the project, I got the error: `Failed to load resource: index.bootstrap.initializer.dart`.\r\n\r\nI looked into `index.html` and found this line:\r\n\r\n`<script type=\"application/dart\" src=\"index.bootstrap.initialize.dart\"></script>`\r\n\r\nAnd obviously this file doesn't exist, only a similar one that ends in `dart.js`. Changing this line to `<script src=\"index.bootstrap.initialize.dart.js\"></script>` solves the problem, but I wonder if this is a bug."}}