{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angularfire2/issues/1508","repository_url":"https://api.github.com/repos/angular/angularfire2","labels_url":"https://api.github.com/repos/angular/angularfire2/issues/1508/labels{/name}","comments_url":"https://api.github.com/repos/angular/angularfire2/issues/1508/comments","events_url":"https://api.github.com/repos/angular/angularfire2/issues/1508/events","html_url":"https://github.com/angular/angularfire2/issues/1508","id":304320809,"number":1508,"title":"Angular build failing in unix environment (tested on Linux AWS EC2 instance)","user":{"login":"dghanwat","id":1898077,"avatar_url":"https://avatars1.githubusercontent.com/u/1898077?v=4","gravatar_id":"","url":"https://api.github.com/users/dghanwat","html_url":"https://github.com/dghanwat","followers_url":"https://api.github.com/users/dghanwat/followers","following_url":"https://api.github.com/users/dghanwat/following{/other_user}","gists_url":"https://api.github.com/users/dghanwat/gists{/gist_id}","starred_url":"https://api.github.com/users/dghanwat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dghanwat/subscriptions","organizations_url":"https://api.github.com/users/dghanwat/orgs","repos_url":"https://api.github.com/users/dghanwat/repos","events_url":"https://api.github.com/users/dghanwat/events{/privacy}","received_events_url":"https://api.github.com/users/dghanwat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-12T10:45:59Z","updated_at":"2018-03-26T13:43:44Z","closed_at":null,"author_association":"NONE","body":"When trying to build aot on Linux EC2 instance the following error happens:\r\n\r\n`ERROR in ./node_modules/@firebase/polyfill/index.ts\r\nModule build failed: Error: /home/ec2-user/rnd/khushi-portal/node_modules/@firebase/polyfill/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 (/home/ec2-user/rnd/khushi-portal/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:674:23)\r\n    at plugin.done.then (/home/ec2-user/rnd/khushi-portal/node_modules/@ngtools/webpack/src/loader.js:467:39)\r\n    at <anonymous>\r\n`\r\n\r\n**## Version info**\r\n\r\n```\r\nAngular CLI: 1.7.3\r\nNode: 9.5.0\r\nOS: linux x64\r\nAngular: 5.2.8\r\n... common, compiler, compiler-cli, core, forms, http\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router\r\n\r\n@angular/animations: 4.4.6\r\n@angular/cdk: 5.2.4\r\n@angular/cli: 1.7.3\r\n@angular-devkit/build-optimizer: 0.3.2\r\n@angular-devkit/core: 0.3.2\r\n@angular-devkit/schematics: 0.3.2\r\n@ngtools/json-schema: 1.2.0\r\n@ngtools/webpack: 1.10.2\r\n@schematics/angular: 0.3.2\r\n@schematics/package-update: 0.3.2\r\ntypescript: 2.4.2\r\nwebpack: 3.11.0\r\n\r\n```\r\n\r\n## How to reproduce these conditions\r\n\r\nSteps to set up and reproduce\r\n\r\n\r\nCreate a new project using @angular/cli (using 1.7.3)\r\nInstall angularfire2 and firebase as dependencies and connect them to the app\r\n\r\nRun either ng serve or ng build -prod\r\n\r\n**Debug output**\r\n\r\n```\r\nERROR in ./node_modules/@firebase/polyfill/index.ts\r\nModule build failed: Error: /home/ec2-user/rnd/khushi-portal/node_modules/@firebase/polyfill/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 (/home/ec2-user/rnd/khushi-portal/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:674:23)\r\n    at plugin.done.then (/home/ec2-user/rnd/khushi-portal/node_modules/@ngtools/webpack/src/loader.js:467:39)\r\n    at <anonymous>\r\n\r\n```\r\n\r\n**Expected behavior**\r\nThe app should build properly.\r\n\r\n**Actual behavior**\r\nThe app doesn't build\r\n\r\nNB\r\nThis works properly on windows, no issues at all. I can connect to my firebase instance and also use login with facebook feature.\r\n\r\nI tried to follow the steps mentioned in this  [Issue 1499](https://github.com/angular/angularfire2/issues/1499). But it did not work for me "},"comment":{"url":"https://api.github.com/repos/angular/angularfire2/issues/comments/376170453","html_url":"https://github.com/angular/angularfire2/issues/1508#issuecomment-376170453","issue_url":"https://api.github.com/repos/angular/angularfire2/issues/1508","id":376170453,"user":{"login":"psrcek","id":13370323,"avatar_url":"https://avatars2.githubusercontent.com/u/13370323?v=4","gravatar_id":"","url":"https://api.github.com/users/psrcek","html_url":"https://github.com/psrcek","followers_url":"https://api.github.com/users/psrcek/followers","following_url":"https://api.github.com/users/psrcek/following{/other_user}","gists_url":"https://api.github.com/users/psrcek/gists{/gist_id}","starred_url":"https://api.github.com/users/psrcek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psrcek/subscriptions","organizations_url":"https://api.github.com/users/psrcek/orgs","repos_url":"https://api.github.com/users/psrcek/repos","events_url":"https://api.github.com/users/psrcek/events{/privacy}","received_events_url":"https://api.github.com/users/psrcek/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T13:43:44Z","updated_at":"2018-03-26T13:43:44Z","author_association":"NONE","body":"I can't seem to reproduce this on my PC running arch. Builds just fine, like all of my projects with angularfire2."}}
{"actor":{"display_login":"psrcek"}}