{"action":"created","issue":{"url":"https://api.github.com/repos/karma-runner/karma/issues/1946","repository_url":"https://api.github.com/repos/karma-runner/karma","labels_url":"https://api.github.com/repos/karma-runner/karma/issues/1946/labels{/name}","comments_url":"https://api.github.com/repos/karma-runner/karma/issues/1946/comments","events_url":"https://api.github.com/repos/karma-runner/karma/issues/1946/events","html_url":"https://github.com/karma-runner/karma/issues/1946","id":137202877,"number":1946,"title":"Regression with core-js 2.1.1 -> 2.1.2","user":{"login":"cyrilgandon","id":2806672,"avatar_url":"https://avatars.githubusercontent.com/u/2806672?v=3","gravatar_id":"","url":"https://api.github.com/users/cyrilgandon","html_url":"https://github.com/cyrilgandon","followers_url":"https://api.github.com/users/cyrilgandon/followers","following_url":"https://api.github.com/users/cyrilgandon/following{/other_user}","gists_url":"https://api.github.com/users/cyrilgandon/gists{/gist_id}","starred_url":"https://api.github.com/users/cyrilgandon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyrilgandon/subscriptions","organizations_url":"https://api.github.com/users/cyrilgandon/orgs","repos_url":"https://api.github.com/users/cyrilgandon/repos","events_url":"https://api.github.com/users/cyrilgandon/events{/privacy}","received_events_url":"https://api.github.com/users/cyrilgandon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/karma-runner/karma/labels/needs:%20investigation","name":"needs: investigation","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-29T09:48:41Z","updated_at":"2016-02-29T10:07:57Z","closed_at":null,"body":"My automatic build runs successfully this night at 3am, but failed this morning at 7am.\r\nI got the following error message:\r\n\r\n```\r\nRunning karma task\u001B\r\nFatal error: Cannot read property 'length' of undefined\r\n```\r\n\r\nThe difference between the two builds is the release of core-js 2.1.2 during this time span.\r\n\r\nI tried to downgrade manually the dependency of Karma to use core-js 2.1.1, and the error is gone!\r\n\r\n- Karma version: 0.13.21\r\n\r\nI'm not sure if this is a Karma problem or a core-js problem, still investigating..\r\n"},"comment":{"url":"https://api.github.com/repos/karma-runner/karma/issues/comments/190137549","html_url":"https://github.com/karma-runner/karma/issues/1946#issuecomment-190137549","issue_url":"https://api.github.com/repos/karma-runner/karma/issues/1946","id":190137549,"user":{"login":"cyrilgandon","id":2806672,"avatar_url":"https://avatars.githubusercontent.com/u/2806672?v=3","gravatar_id":"","url":"https://api.github.com/users/cyrilgandon","html_url":"https://github.com/cyrilgandon","followers_url":"https://api.github.com/users/cyrilgandon/followers","following_url":"https://api.github.com/users/cyrilgandon/following{/other_user}","gists_url":"https://api.github.com/users/cyrilgandon/gists{/gist_id}","starred_url":"https://api.github.com/users/cyrilgandon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyrilgandon/subscriptions","organizations_url":"https://api.github.com/users/cyrilgandon/orgs","repos_url":"https://api.github.com/users/cyrilgandon/repos","events_url":"https://api.github.com/users/cyrilgandon/events{/privacy}","received_events_url":"https://api.github.com/users/cyrilgandon/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T10:07:57Z","updated_at":"2016-02-29T10:07:57Z","body":"The Karma task take part in a scenario where a typescript build happens before.\r\nThe Karma task successfuly runs on this own. When it is the second task of a grunt multitask, the error appeared.\r\n\r\n```\r\ngrunt.registerTask('tests', ['typescript', 'karma']);\r\n```\r\n```\r\ngrunt karma  // FAILURE\r\n```\r\n```\r\ngrunt typescript\r\ngrunt karma // SUCCESS\r\n```\r\n"}}