{"action":"created","issue":{"url":"https://api.github.com/repos/leewinder/ng2-file-drop/issues/49","repository_url":"https://api.github.com/repos/leewinder/ng2-file-drop","labels_url":"https://api.github.com/repos/leewinder/ng2-file-drop/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/leewinder/ng2-file-drop/issues/49/comments","events_url":"https://api.github.com/repos/leewinder/ng2-file-drop/issues/49/events","html_url":"https://github.com/leewinder/ng2-file-drop/issues/49","id":298585043,"number":49,"title":"Build failed in Angular 5 (in development mode)","user":{"login":"Ivan-Perez","id":3533970,"avatar_url":"https://avatars3.githubusercontent.com/u/3533970?v=4","gravatar_id":"","url":"https://api.github.com/users/Ivan-Perez","html_url":"https://github.com/Ivan-Perez","followers_url":"https://api.github.com/users/Ivan-Perez/followers","following_url":"https://api.github.com/users/Ivan-Perez/following{/other_user}","gists_url":"https://api.github.com/users/Ivan-Perez/gists{/gist_id}","starred_url":"https://api.github.com/users/Ivan-Perez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ivan-Perez/subscriptions","organizations_url":"https://api.github.com/users/Ivan-Perez/orgs","repos_url":"https://api.github.com/users/Ivan-Perez/repos","events_url":"https://api.github.com/users/Ivan-Perez/events{/privacy}","received_events_url":"https://api.github.com/users/Ivan-Perez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-20T13:00:08Z","updated_at":"2018-02-20T14:21:52Z","closed_at":null,"author_association":"NONE","body":"Hi!\r\n\r\nI'm trying to install this module into my Angular 5 application. After running `npm install ng2-file-drop --save`, the dependency is correctly saved into the node_modules folder.\r\n\r\nThen I added the module into the app.module, and started serving my application (using `ng serve`). Compilation fails with this error message:\r\n\r\n```\r\nERROR in ./node_modules/ng2-file-drop/index.ts\r\nModule build failed: Error: ...\\node_modules\\ng2-file-drop\\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\\@ngtools\\webpack\\src\\angular_compiler\r\n_plugin.js:663:23)\r\n    at plugin.done.then (...\\node_modules\\@ngtools\\webpack\\src\\loader.js:467:39)\r\n    at <anonymous>\r\n    at process._tickCallback (internal/process/next_tick.js:188:7)\r\n @ ./src/app/app.module.ts 25:22-46\r\n @ ./src/main.ts\r\n @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts\r\n```\r\n\r\nInside the error, there's a link explaining why angular-cli thinks this plugin may be incorrectly packaged: https://goo.gl/jB3GVv\r\n\r\nThis is my environment:\r\n\r\n```\r\nAngular CLI: 1.6.8\r\nNode: 8.9.4\r\nOS: win32 x64\r\nAngular: 5.2.5\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\n@angular/cli: 1.6.8\r\n@angular-devkit/build-optimizer: 0.0.42\r\n@angular-devkit/core: 0.0.29\r\n@angular-devkit/schematics: 0.0.52\r\n@ngtools/json-schema: 1.1.0\r\n@ngtools/webpack: 1.9.8\r\n@schematics/angular: 0.1.17\r\ntypescript: 2.5.3\r\nwebpack: 3.10.0\r\n```\r\n\r\nI've tried to follow the [installation guide](https://github.com/leewinder/ng2-file-drop#installation), but had no success because in my project (almost a blank project started two days ago) there is no systemjs.config.js file. I don't know if my issue is related to the lack of that file.\r\n\r\nThanks in advance for your help!"},"comment":{"url":"https://api.github.com/repos/leewinder/ng2-file-drop/issues/comments/366991904","html_url":"https://github.com/leewinder/ng2-file-drop/issues/49#issuecomment-366991904","issue_url":"https://api.github.com/repos/leewinder/ng2-file-drop/issues/49","id":366991904,"user":{"login":"julia-string","id":16593812,"avatar_url":"https://avatars2.githubusercontent.com/u/16593812?v=4","gravatar_id":"","url":"https://api.github.com/users/julia-string","html_url":"https://github.com/julia-string","followers_url":"https://api.github.com/users/julia-string/followers","following_url":"https://api.github.com/users/julia-string/following{/other_user}","gists_url":"https://api.github.com/users/julia-string/gists{/gist_id}","starred_url":"https://api.github.com/users/julia-string/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julia-string/subscriptions","organizations_url":"https://api.github.com/users/julia-string/orgs","repos_url":"https://api.github.com/users/julia-string/repos","events_url":"https://api.github.com/users/julia-string/events{/privacy}","received_events_url":"https://api.github.com/users/julia-string/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T14:21:52Z","updated_at":"2018-02-20T14:21:52Z","author_association":"NONE","body":"Thank you @DnNexus, I can confirm, this works. However, I'd classify this as a temporary work-around, but not as a solution."}}
{"actor":{"display_login":"julia-string"}}