Skip to content

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

Closed

Description

@ericel

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.

Activity

  1. ericel commented on Feb 20, 2018

    @ericel
    Author

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

  2. byrondover commented on Feb 25, 2018

    @byrondover
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions