{"action":"closed","issue":{"url":"https://api.github.com/repos/urish/angular2-moment/issues/91","repository_url":"https://api.github.com/repos/urish/angular2-moment","labels_url":"https://api.github.com/repos/urish/angular2-moment/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/urish/angular2-moment/issues/91/comments","events_url":"https://api.github.com/repos/urish/angular2-moment/issues/91/events","html_url":"https://github.com/urish/angular2-moment/issues/91","id":181061195,"number":91,"title":"NGC Build Error","user":{"login":"danbucholtz","id":4680488,"avatar_url":"https://avatars.githubusercontent.com/u/4680488?v=3","gravatar_id":"","url":"https://api.github.com/users/danbucholtz","html_url":"https://github.com/danbucholtz","followers_url":"https://api.github.com/users/danbucholtz/followers","following_url":"https://api.github.com/users/danbucholtz/following{/other_user}","gists_url":"https://api.github.com/users/danbucholtz/gists{/gist_id}","starred_url":"https://api.github.com/users/danbucholtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbucholtz/subscriptions","organizations_url":"https://api.github.com/users/danbucholtz/orgs","repos_url":"https://api.github.com/users/danbucholtz/repos","events_url":"https://api.github.com/users/danbucholtz/events{/privacy}","received_events_url":"https://api.github.com/users/danbucholtz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-05T04:12:27Z","updated_at":"2016-10-06T09:57:40Z","closed_at":"2016-10-06T09:57:39Z","body":"When I try to build this library with `ngc`, I get an error:\r\n\r\n```\r\n23:10:05]  tslint: /Users/dan/Dev/rollup-lib-issues/mega-lib-trail/src/app/app.module.ts[28, 10]: Unused import: 'MomentModule'\r\n\r\n[23:10:05]  lint finished in 376 ms\r\n[23:10:11]  ngc error: Error: Error at /Users/dan/Dev/rollup-lib-issues/mega-lib-trail/node_modules/angular2-moment/CalendarPipe.d.ts:16:36: Module ''moment'' has no exported member 'Moment'.\r\nError at /Users/dan/Dev/rollup-lib-issues/mega-lib-trail/node_modules/angular2-moment/DateFormatPipe.d.ts:5:36: Module ''moment'' has no exported member 'Moment'.\r\nError at /Users/dan/Dev/rollup-lib-issues/mega-lib-trail/node_modules/angular2-moment/TimeAgoPipe.d.ts:9:36: Module ''moment'' has no exported member 'Moment'.\r\nError at /Users/dan/Dev/rollup-lib-issues/mega-lib-trail/node_modules/angular2-moment/TimeAgoPipe.d.ts:12:51: Module ''moment'' has no exported member 'Moment'.\r\nError at /Users/dan/Dev/rollup-lib-issues/mega-lib-trail/node_modules/angular2-moment/DifferencePipe.d.ts:5:36: Module ''moment'' has no exported member 'Moment'.\r\nError at /Users/dan/Dev/rollup-lib-issues/mega-lib-trail/node_modules/angular2-moment/DifferencePipe.d.ts:5:70: Module ''moment'' has no exported member 'Moment'.\r\nError at /Users/dan/Dev/rollup-lib-issues/mega-lib-trail/node_modules/angular2-moment/DifferencePipe.d.ts:5:92: Module ''moment'' has no exported member 'UnitOfTime'.\r\n    at check (/Users/dan/Dev/rollup-lib-issues/mega-lib-trail/node_modules/@angular/tsc-wrapped/src/tsc.js:31:15)\r\n    at Tsc.typeCheck (/Users/dan/Dev/rollup-lib-issues/mega-lib-trail/node_modules/@angular/tsc-wrapped/src/tsc.js:86:9)\r\n    at /Users/dan/Dev/rollup-lib-issues/mega-lib-trail/node_modules/@angular/tsc-wrapped/src/main.js:33:23\r\n    at process._tickCallback (node.js:369:9)\r\n    at Function.Module.runMain (module.js:443:11)\r\n    at startup (node.js:139:18)\r\n    at node.js:974:3\r\n\r\n[23:10:11]  ngc error: Compilation failed\r\n```\r\n\r\nThanks,\r\nDan"}}
{"actor":{"display_login":"urish"}}