Error: Container Has Not Been Made Global - How To Solve?
I'm trying to get the Firebase Reactive Collection (Sync database) to work with the Aurelia-Firebase plugin. I'm using the following code to set a reference to the database: // col
Solution 1:
One thing that is immediately apparent is the plugin you are using is almost 1 year out of date. If you look in its package.json
file you can see it is referencing beta Aurelia libraries and not the latest release candidate ones.
Looking at the source code, you can see the error message you are getting here: https://github.com/PulsarBlow/aurelia-firebase/blob/master/src/collection.js#L13 -- I think because two different versions of the Dependency Injection library are being used, the containers are different and therefore, there is no instance registered.
I would honestly just install Firebase manually and use it that way by installing it via Jspm: jspm install firebase
should do the trick for you.
Post a Comment for "Error: Container Has Not Been Made Global - How To Solve?"