Skip to content

Building with NGC : Can't resolve all parameters for AngularFirestore #1280

@ThomasKientz

Description

@ThomasKientz

Console from ionic build --prod :

ionic build --prod
[INFO] Running app-scripts build: --prod
       
[15:38:33]  build prod started ... 
[15:38:33]  clean started ... 
[15:38:33]  clean finished in 6 ms 
[15:38:33]  copy started ... 
[15:38:33]  deeplinks started ... 
[15:38:33]  deeplinks finished in 234 ms 
[15:38:33]  ngc started ... 
Warning: Can't resolve all parameters for AngularFirestore in /Users/thomas/Documents/Dev/Meet/Meet-Ionic/node_modules/angularfire2/firestore/index.d.ts: ([object Object], ?). This will become an error in Angular v5.x
Warning: Can't resolve all parameters for AngularFirestore in /Users/thomas/Documents/Dev/Meet/Meet-Ionic/node_modules/angularfire2/firestore/index.d.ts: ([object Object], ?). This will become an error in Angular v5.x
[15:38:41]  ngc finished in 7.53 s 
[15:38:41]  preprocess started ... 
[15:38:41]  copy finished in 7.86 s 
[15:38:41]  preprocess finished in 79 ms 
[15:38:41]  webpack started ... 
[15:39:17]  webpack finished in 36.01 s 
[15:39:17]  uglifyjs started ... 
[15:39:17]  sass started ... 
[15:39:19]  sass finished in 1.79 s 
[15:39:19]  cleancss started ... 
[15:39:27]  cleancss finished in 8.04 s 
[15:39:43]  uglifyjs finished in 26.10 s 
[15:39:43]  postprocess started ... 
[15:39:43]  postprocess finished in 40 ms 
[15:39:43]  lint started ... 
[15:39:43]  build prod finished in 70.11 s 
> ionic cordova prepare
> cordova prepare

Version info

Angular:
4.4.3
Firebase:
4.5.2
AngularFire:
5.0.0-rc.3
Other (e.g. Ionic/Cordova, Node, browser, operating system):

ionic info

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.13.1
    ionic (Ionic CLI) : 3.13.1

global packages:

    cordova (Cordova CLI) : 7.1.0 

local packages:

    @ionic/app-scripts : 3.0.0
    Cordova Platforms  : ios 4.5.2
    Ionic Framework    : ionic-angular 3.7.1

System:

    Android SDK Tools : 26.0.2
    ios-deploy        : 1.9.0 
    ios-sim           : 6.0.0 
    Node              : v8.1.4
    npm               : 4.6.1 
    OS                : macOS High Sierra
    Xcode             : Xcode 9.0 Build version 9A235 

Misc:

    backend : legacy

How to reproduce these conditions

Failing test unit, Plunkr, or JSFiddle demonstrating the problem

Steps to set up and reproduce

Sample data and security rules

<-- include/attach/link to some json sample data (or provide credentials to a sanitized, test Firebase project) -->

Debug output

** Errors in the JavaScript console **

** Output from firebase.database().enableLogging(true); **

** Screenshots **

Expected behavior

Actual behavior

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