FirebaseExtended/emberfire

App does not find 'emberfire/addon/adapters/firebase'

jdvallejor opened this issue · 3 comments

Hello I am using emberfire and I get the next error when trying to create a object from a model.

image

I have checked and the file already exists!

image

This is the code. The step of creating the user and authentication using torii works perfect, but when when I try to save data to the database I got the error described before.

image

Thanks for any help!!

Version info

DEBUG: Ember : 3.1.0
DEBUG: Ember Data : 3.0.0
DEBUG: Firebase : 3.9
DEBUG: EmberFire : 2.0.9

Hey, can you share your adapters/application.js where you import it? Note, you should not include "addon" in the path. This is how my application adapter looks:

import FirebaseAdapter from 'emberfire/adapters/firebase'
export default FirebaseAdapter.extend({})

Thanks, now it works!, but i have a question. The adapters/application.js was generated automatically when I installed emberfire, so is there a problem in the installation?

Great!

I couldn't find anywhere in the blueprints where addon/ should be defined... So I'm not sure why it happened.

https://github.com/firebase/emberfire/blob/master/blueprints/firebase-adapter/files/app/adapters/__name__.js