{"action":"opened","issue":{"url":"https://api.github.com/repos/valor-software/ngx-bootstrap/issues/2266","repository_url":"https://api.github.com/repos/valor-software/ngx-bootstrap","labels_url":"https://api.github.com/repos/valor-software/ngx-bootstrap/issues/2266/labels{/name}","comments_url":"https://api.github.com/repos/valor-software/ngx-bootstrap/issues/2266/comments","events_url":"https://api.github.com/repos/valor-software/ngx-bootstrap/issues/2266/events","html_url":"https://github.com/valor-software/ngx-bootstrap/issues/2266","id":245160421,"number":2266,"title":"alerts break AOT ","user":{"login":"DexterHaslem","id":370456,"avatar_url":"https://avatars1.githubusercontent.com/u/370456?v=4","gravatar_id":"","url":"https://api.github.com/users/DexterHaslem","html_url":"https://github.com/DexterHaslem","followers_url":"https://api.github.com/users/DexterHaslem/followers","following_url":"https://api.github.com/users/DexterHaslem/following{/other_user}","gists_url":"https://api.github.com/users/DexterHaslem/gists{/gist_id}","starred_url":"https://api.github.com/users/DexterHaslem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DexterHaslem/subscriptions","organizations_url":"https://api.github.com/users/DexterHaslem/orgs","repos_url":"https://api.github.com/users/DexterHaslem/repos","events_url":"https://api.github.com/users/DexterHaslem/events{/privacy}","received_events_url":"https://api.github.com/users/DexterHaslem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-24T17:58:40Z","updated_at":"2017-07-24T17:58:40Z","closed_at":null,"body":"just upgraded from old ng2-bootstrap to ngx-bootstrap 1.8.0\r\n\r\nfollowing the getting started for angular-cli (https://github.com/valor-software/ngx-bootstrap/blob/development/docs/getting-started/ng-cli.md), added AlertModule.forRoot() to app module imports.\r\n\r\nOnce that is done, `ng build -prod` no longer works:\r\n```\r\nERROR in ./src/main.ts\r\nModule not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in 'C:\\goprojects\\src\\fatc\\angular_client\\src'\r\n @ ./src/main.ts 6:0-74\r\n @ multi ./src/main.ts\r\n```\r\nremoving alerts module, AOT works again. `ng build -prod --aot false` does work. AOT did work on older ng2-bootstrap w/ alerts enabled if that helps"}}
{"actor":{"display_login":"DexterHaslem"}}