googlearchive / firebase-util

An experimental toolset for Firebase
http://firebase.github.io/firebase-util
MIT License
276 stars 67 forks source link

Node JS normalized collection #89

Open yesiman opened 8 years ago

yesiman commented 8 years ago

Hi,

I can't use firebase-util normalized collection under nodeJS :

Installation : npm install firebase npm install firebase-util Added in packages too.

NodeJs : var FirebaseUtil = require('firebase-util'); var clientsRef = new FirebaseUtil.NormalizedCollection( [myFirebaseRef.child("boutiks/clients"), 'clientsBoutiks'], [myFirebaseRef.child("clients"), 'clients'] ).select( "clients.nom", "clients.prenom" ).ref();

I have this error :

FirebaseUtil.NormalizedCollection is not a function in my NodeJS Log.

Please Help.

bobbino commented 7 years ago

Same issue here but typescript + ionic 2. when trying to import the library, compilation works but the object is empty at runtime so can't resolve firebase.util... Any Help?