Skip to content

WARNING in ./src/app/app.module.ngfactory.js Angularfirestore #1474

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ericel opened this issue Feb 20, 2018 · 2 comments
Closed

WARNING in ./src/app/app.module.ngfactory.js Angularfirestore #1474

ericel opened this issue Feb 20, 2018 · 2 comments

Comments

@ericel
Copy link

ericel commented Feb 20, 2018

I am getting this error when I tried to build for production. ng build --prod --aot

 "angularfire2": "^5.0.0-rc.6",
 "@angular/compiler-cli": "^5.2.0",
"@angular/cli": "~1.7.0",
WARNING in ./src/app/app.module.ngfactory.js
110:18734-18740 "export 'ɵa' (imported as 'i47') was not found in 'angularfire2/firestore'

Works well with development ng serve.

@ericel
Copy link
Author

ericel commented Feb 20, 2018

this happens when target is set to "target": "es6",

@ericel ericel closed this as completed Feb 20, 2018
@byrondover
Copy link
Contributor

I too am experiencing this AOT warning.

% ng --version

    _                      _                 ____ _     ___
   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/

Angular CLI: 1.7.1
Node: 8.9.1
OS: darwin x64
Angular: 5.2.6
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cdk: 5.2.2
@angular/cli: 1.7.1
@angular/flex-layout: 2.0.0-beta.12
@angular/material: 5.2.2
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.1
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.6.2
webpack-bundle-analyzer: 2.10.1
webpack: 3.11.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants