{"action":"closed","issue":{"url":"https://api.github.com/repos/videogular/videogular2/issues/475","repository_url":"https://api.github.com/repos/videogular/videogular2","labels_url":"https://api.github.com/repos/videogular/videogular2/issues/475/labels{/name}","comments_url":"https://api.github.com/repos/videogular/videogular2/issues/475/comments","events_url":"https://api.github.com/repos/videogular/videogular2/issues/475/events","html_url":"https://github.com/videogular/videogular2/issues/475","id":219718750,"number":475,"title":"Angular 2 version 4 errors","user":{"login":"benhalverson","id":7907232,"avatar_url":"https://avatars3.githubusercontent.com/u/7907232?v=3","gravatar_id":"","url":"https://api.github.com/users/benhalverson","html_url":"https://github.com/benhalverson","followers_url":"https://api.github.com/users/benhalverson/followers","following_url":"https://api.github.com/users/benhalverson/following{/other_user}","gists_url":"https://api.github.com/users/benhalverson/gists{/gist_id}","starred_url":"https://api.github.com/users/benhalverson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhalverson/subscriptions","organizations_url":"https://api.github.com/users/benhalverson/orgs","repos_url":"https://api.github.com/users/benhalverson/repos","events_url":"https://api.github.com/users/benhalverson/events{/privacy}","received_events_url":"https://api.github.com/users/benhalverson/received_events","type":"User","site_admin":false},"labels":[{"id":279312590,"url":"https://api.github.com/repos/videogular/videogular2/labels/invalid","name":"invalid","color":"e6e6e6","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-04-05T21:20:26Z","updated_at":"2017-05-05T16:10:22Z","closed_at":"2017-05-05T16:10:22Z","body":"### Description\r\nI'm getting the following error on loading of my app.\r\n\r\n```\r\nERROR Error: The selector \"app-video-player\" did not match any elements\r\n    at DefaultDomRenderer2.selectRootElement (http://localhost:4200/vendor.bundle.js:30300:19) [angular]\r\n    at DebugRenderer2.selectRootElement (http://localhost:4200/vendor.bundle.js:13423:49) [angular]\r\n    at createElement (http://localhost:4200/vendor.bundle.js:9593:23) [angular]\r\n    at createViewNodes (http://localhost:4200/vendor.bundle.js:12194:44) [angular]\r\n    at createRootView (http://localhost:4200/vendor.bundle.js:12141:5) [angular]\r\n    at callWithDebugContext (http://localhost:4200/vendor.bundle.js:13272:42) [angular]\r\n    at Object.debugCreateRootView [as createRootView] (http://localhost:4200/vendor.bundle.js:12733:12) [angular]\r\n    at ComponentFactory_.create (http://localhost:4200/vendor.bundle.js:10078:46) [angular]\r\n    at ComponentFactoryBoundToModule.create (http://localhost:4200/vendor.bundle.js:3659:29) [angular]\r\n    at ApplicationRef_.bootstrap (http://localhost:4200/vendor.bundle.js:5242:57) [angular]\r\n    at http://localhost:4200/vendor.bundle.js:5029:79 [angular]\r\n    at Array.forEach (native) [angular]\r\n    at PlatformRef_._moduleDoBootstrap (http://localhost:4200/vendor.bundle.js:5029:42) [angular]\r\n    at http://localhost:4200/vendor.bundle.js:4990:27 [angular]\r\nView_VideoPlayerComponent_Host_0 @ VideoPlayerComponent_Host.html:1\r\nproxyClass @ compiler.es5.js:13560\r\nDebugContext_.logError @ core.es5.js:13000\r\nErrorHandler.handleError @ core.es5.js:1145\r\n(anonymous) @ core.es5.js:4680\r\nZoneDelegate.invoke @ zone.js:365\r\nonInvoke @ core.es5.js:4145\r\nZoneDelegate.invoke @ zone.js:364\r\nZone.run @ zone.js:125\r\n(anonymous) @ zone.js:760\r\nZoneDelegate.invokeTask @ zone.js:398\r\nonInvokeTask @ core.es5.js:4136\r\nZoneDelegate.invokeTask @ zone.js:397\r\nZone.runTask @ zone.js:165\r\ndrainMicroTaskQueue @ zone.js:593\r\nVideoPlayerComponent_Host.html:1 ERROR CONTEXT DebugContext_ {view: Object, nodeIndex: 0, nodeDef: Object, elDef: Object, elView: Object}\r\nView_VideoPlayerComponent_Host_0 @ VideoPlayerComponent_Host.html:1\r\nproxyClass @ compiler.es5.js:13560\r\nDebugContext_.logError @ core.es5.js:13000\r\nErrorHandler.handleError @ core.es5.js:1150\r\n(anonymous) @ core.es5.js:4680\r\nZoneDelegate.invoke @ zone.js:365\r\nonInvoke @ core.es5.js:4145\r\nZoneDelegate.invoke @ zone.js:364\r\nZone.run @ zone.js:125\r\n(anonymous) @ zone.js:760\r\nZoneDelegate.invokeTask @ zone.js:398\r\nonInvokeTask @ core.es5.js:4136\r\nZoneDelegate.invokeTask @ zone.js:397\r\nZone.runTask @ zone.js:165\r\ndrainMicroTaskQueue @ zone.js:593\r\nzone.js:569 Unhandled Promise rejection: The selector \"app-video-player\" did not match any elements ; Zone: <root> ; Task: Promise.then ; Value: Error: The selector \"app-video-player\" did not match any elements\r\n    at DefaultDomRenderer2.selectRootElement (http://localhost:4200/vendor.bundle.js:30300:19) [angular]\r\n    at DebugRenderer2.selectRootElement (http://localhost:4200/vendor.bundle.js:13423:49) [angular]\r\n    at createElement (http://localhost:4200/vendor.bundle.js:9593:23) [angular]\r\n    at createViewNodes (http://localhost:4200/vendor.bundle.js:12194:44) [angular]\r\n    at createRootView (http://localhost:4200/vendor.bundle.js:12141:5) [angular]\r\n    at callWithDebugContext (http://localhost:4200/vendor.bundle.js:13272:42) [angular]\r\n    at Object.debugCreateRootView [as createRootView] (http://localhost:4200/vendor.bundle.js:12733:12) [angular]\r\n    at ComponentFactory_.create (http://localhost:4200/vendor.bundle.js:10078:46) [angular]\r\n    at ComponentFactoryBoundToModule.create (http://localhost:4200/vendor.bundle.js:3659:29) [angular]\r\n    at ApplicationRef_.bootstrap (http://localhost:4200/vendor.bundle.js:5242:57) [angular]\r\n    at http://localhost:4200/vendor.bundle.js:5029:79 [angular]\r\n    at Array.forEach (native) [angular]\r\n    at PlatformRef_._moduleDoBootstrap (http://localhost:4200/vendor.bundle.js:5029:42) [angular]\r\n    at http://localhost:4200/vendor.bundle.js:4990:27 [angular] Error: The selector \"app-video-player\" did not match any elements\r\n    at DefaultDomRenderer2.selectRootElement (http://localhost:4200/vendor.bundle.js:30300:19) [angular]\r\n    at DebugRenderer2.selectRootElement (http://localhost:4200/vendor.bundle.js:13423:49) [angular]\r\n    at createElement (http://localhost:4200/vendor.bundle.js:9593:23) [angular]\r\n    at createViewNodes (http://localhost:4200/vendor.bundle.js:12194:44) [angular]\r\n    at createRootView (http://localhost:4200/vendor.bundle.js:12141:5) [angular]\r\n    at callWithDebugContext (http://localhost:4200/vendor.bundle.js:13272:42) [angular]\r\n    at Object.debugCreateRootView [as createRootView] (http://localhost:4200/vendor.bundle.js:12733:12) [angular]\r\n    at ComponentFactory_.create (http://localhost:4200/vendor.bundle.js:10078:46) [angular]\r\n    at ComponentFactoryBoundToModule.create (http://localhost:4200/vendor.bundle.js:3659:29) [angular]\r\n    at ApplicationRef_.bootstrap (http://localhost:4200/vendor.bundle.js:5242:57) [angular]\r\n    at http://localhost:4200/vendor.bundle.js:5029:79 [angular]\r\n    at Array.forEach (native) [angular]\r\n    at PlatformRef_._moduleDoBootstrap (http://localhost:4200/vendor.bundle.js:5029:42) [angular]```\r\n\r\n\r\n### Expected Behavior\r\nno errors in the console\r\n### Actual Behavior\r\nerror in the console\r\n\r\n### Steps to Reproduce\r\nadd the following to app.module \r\n``` import {VgCoreModule} from 'videogular2/core';\r\nimport {VgControlsModule} from 'videogular2/controls';\r\nimport {VgOverlayPlayModule} from 'videogular2/overlay-play';\r\nimport {VgBufferingModule} from 'videogular2/buffering';\r\n``` \r\ncreate a module and add to\r\n\r\n### Attachments\r\n*Try to include screenshots for bugs or design assets for enhancements*\r\n\r\n| **Image Title** |\r\n| --- |\r\n| (https://media.giphy.com/media/143vPc6b08locw/giphy.gif) |\r\n| Image description |\r\n\r\n"}}
{"actor":{"display_login":"Elecash"}}