{"action":"created","issue":{"url":"https://api.github.com/repos/shubhi1407/ng2-component-spinner/issues/3","repository_url":"https://api.github.com/repos/shubhi1407/ng2-component-spinner","labels_url":"https://api.github.com/repos/shubhi1407/ng2-component-spinner/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/shubhi1407/ng2-component-spinner/issues/3/comments","events_url":"https://api.github.com/repos/shubhi1407/ng2-component-spinner/issues/3/events","html_url":"https://github.com/shubhi1407/ng2-component-spinner/issues/3","id":304666778,"number":3,"title":"Build fails in Angular5: index.ts missing from Typescript compilation","user":{"login":"lehtiniemi","id":13351978,"avatar_url":"https://avatars2.githubusercontent.com/u/13351978?v=4","gravatar_id":"","url":"https://api.github.com/users/lehtiniemi","html_url":"https://github.com/lehtiniemi","followers_url":"https://api.github.com/users/lehtiniemi/followers","following_url":"https://api.github.com/users/lehtiniemi/following{/other_user}","gists_url":"https://api.github.com/users/lehtiniemi/gists{/gist_id}","starred_url":"https://api.github.com/users/lehtiniemi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lehtiniemi/subscriptions","organizations_url":"https://api.github.com/users/lehtiniemi/orgs","repos_url":"https://api.github.com/users/lehtiniemi/repos","events_url":"https://api.github.com/users/lehtiniemi/events{/privacy}","received_events_url":"https://api.github.com/users/lehtiniemi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-13T08:23:24Z","updated_at":"2018-03-19T10:08:00Z","closed_at":null,"author_association":"NONE","body":"When I try to compile a project with this module in Angular5, the build fails with the following error:\r\n\r\nERROR in ./node_modules/ng2-component-spinner/index.ts\r\nModule build failed: Error: .\\node_modules\\ng2-component-spinner\\index.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.\r\nThe missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).\r\n    at AngularCompilerPlugin.getCompiledFile (.\\node_modules\\@angular\\cli\\node_modules\\@ngtools\\webpack\\src\\angular_compiler_plugin.js:674:23)\r\n    at plugin.done.then (.\\nordic-sounds\\node_modules\\@angular\\cli\\node_modules\\@ngtools\\webpack\\src\\loader.js:467:39)\r\n    at <anonymous>\r\n    at process._tickCallback (internal/process/next_tick.js:160:7)\r\n\r\nIt works well when using ng serve, though, this is only in build.\r\n"},"comment":{"url":"https://api.github.com/repos/shubhi1407/ng2-component-spinner/issues/comments/374160840","html_url":"https://github.com/shubhi1407/ng2-component-spinner/issues/3#issuecomment-374160840","issue_url":"https://api.github.com/repos/shubhi1407/ng2-component-spinner/issues/3","id":374160840,"user":{"login":"shayts","id":30831377,"avatar_url":"https://avatars2.githubusercontent.com/u/30831377?v=4","gravatar_id":"","url":"https://api.github.com/users/shayts","html_url":"https://github.com/shayts","followers_url":"https://api.github.com/users/shayts/followers","following_url":"https://api.github.com/users/shayts/following{/other_user}","gists_url":"https://api.github.com/users/shayts/gists{/gist_id}","starred_url":"https://api.github.com/users/shayts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shayts/subscriptions","organizations_url":"https://api.github.com/users/shayts/orgs","repos_url":"https://api.github.com/users/shayts/repos","events_url":"https://api.github.com/users/shayts/events{/privacy}","received_events_url":"https://api.github.com/users/shayts/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T10:08:00Z","updated_at":"2018-03-19T10:08:00Z","author_association":"NONE","body":"I have the same problem."}}
{"actor":{"display_login":"shayts"}}