lundi 22 mai 2017

Ember.js application to Firebase connection error

Hi I'm new to Ember and firebase, I'm currently going through an ember tutorial https://www.youtube.com/watch?v=-gd6LRt7Dcg and I'm unable to submit a form that connects to firebase. The error I'm recieving in my console is

_emberDebug.EmberError is not a constructor

My environment.js looks like this

contentSecurityPolicy: {
    'connect-src': "'self' http://ift.tt/1Us4oBa"
},
firebase: {
    apiKey: 'abc',
    authDomain: 'YOUR-FIREBASE-APP.firebaseapp.com',
    databaseURL: 'http://ift.tt/2qEsaVL',
    storageBucket: 'YOUR-FIREBASE-APP.appspot.com',
},

Ive also updated the permissions on my firebase:

{
 "rules": {
    ".read": "auth != null",
    ".write": true
  }
}

On my firebase console it looks like there is no connections, so I feel like there is an issue connecting my Ember application to my database.




Aucun commentaire:

Enregistrer un commentaire