{"action":"opened","issue":{"url":"https://api.github.com/repos/owsolutions/amazing-time-picker/issues/132","repository_url":"https://api.github.com/repos/owsolutions/amazing-time-picker","labels_url":"https://api.github.com/repos/owsolutions/amazing-time-picker/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/owsolutions/amazing-time-picker/issues/132/comments","events_url":"https://api.github.com/repos/owsolutions/amazing-time-picker/issues/132/events","html_url":"https://github.com/owsolutions/amazing-time-picker/issues/132","id":489947559,"node_id":"MDU6SXNzdWU0ODk5NDc1NTk=","number":132,"title":"Does not work with Angular 7.2","user":{"login":"m0j0nz0r","id":16406482,"node_id":"MDQ6VXNlcjE2NDA2NDgy","avatar_url":"https://avatars3.githubusercontent.com/u/16406482?v=4","gravatar_id":"","url":"https://api.github.com/users/m0j0nz0r","html_url":"https://github.com/m0j0nz0r","followers_url":"https://api.github.com/users/m0j0nz0r/followers","following_url":"https://api.github.com/users/m0j0nz0r/following{/other_user}","gists_url":"https://api.github.com/users/m0j0nz0r/gists{/gist_id}","starred_url":"https://api.github.com/users/m0j0nz0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0j0nz0r/subscriptions","organizations_url":"https://api.github.com/users/m0j0nz0r/orgs","repos_url":"https://api.github.com/users/m0j0nz0r/repos","events_url":"https://api.github.com/users/m0j0nz0r/events{/privacy}","received_events_url":"https://api.github.com/users/m0j0nz0r/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-09-05T19:07:56Z","updated_at":"2019-09-05T19:07:56Z","closed_at":null,"author_association":"NONE","body":"To recreate:\r\n1) create a new angular project with angular cli.\r\n2) add amazing-date-picker to this new project.\r\n3) follow the instructions in the readme and use the component.\r\n\r\nng serve --aot fails with:\r\n`ERROR in : Unexpected value 'AmazingTimePickerModule in {projectPath}/node_modules/amazing-time-picker/amazing-time-picker.d.ts' imported by the module 'AppModule in {projectPath}/src/app/app.module.ts'. Please add a @NgModule annotation.`\r\n\r\nng serve will succeed with warnings:\r\n```\r\nWARNING in ./node_modules/amazing-time-picker/node_modules/@angular/core/fesm5/core.js 27315:15-36\r\nCritical dependency: the request of a dependency is an expression\r\n\r\nWARNING in ./node_modules/amazing-time-picker/node_modules/@angular/core/fesm5/core.js 27327:15-102\r\nCritical dependency: the request of a dependency is an expression\r\n```\r\n\r\ngoing to localhost:4200 (default settings for ng serve) produces this error:\r\n```\r\nERROR Error: StaticInjectorError(AppModule)[AtpDirective -> ViewContainerRef]: \r\n  StaticInjectorError(Platform: core)[AtpDirective -> ViewContainerRef]: \r\n    NullInjectorError: No provider for ViewContainerRef!\r\n    at NullInjector.push../node_modules/@angular/core/fesm5/core.js.NullInjector.get (core.js:8896)\r\n    at resolveToken (core.js:9141)\r\n    at tryResolveToken (core.js:9085)\r\n    at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (core.js:8982)\r\n    at resolveToken (core.js:9141)\r\n    at tryResolveToken (core.js:9085)\r\n    at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (core.js:8982)\r\n    at resolveNgModuleDep (core.js:21218)\r\n    at NgModuleRef_.push../node_modules/@angular/core/fesm5/core.js.NgModuleRef_.get (core.js:21907)\r\n    at resolveDep (core.js:22278)\r\n```\r\n\r\n"}}
{"actor":{"display_login":"m0j0nz0r"}}