-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
emberfire install results in generate error message #581
Comments
I've tried deleting the folder in
|
I have some problem. |
@RonyOCuinn we no longer have a Firebase Adapter in 3; there's a RealtimeDatabaseAdapter and FirestoreAdapter located at |
This page https://github.com/firebase/emberfire/blob/master/docs/quickstart.md notes that |
There was a bug, I'll check on that. Sorry docs are WIP right now. |
I'm getting exactly this problem too, running:
I get this error:
I'm very new to ember-cli and app development in general, so I don't know how to get around this problem, can anyone give me a step by step guide to getting ember working with Firebase if the existing documents are inaccurate. At the moment I am completely stuck I have followed the quickstart guide here https://github.com/firebase/emberfire/blob/master/docs/quickstart.md and I've even tried uninstalling ember-cli and reinstalling My setup: Mac Mojave 10.14.5 |
@thelar see the ember 3.11 release notes. There is a known bug in the ember data generators. Try downgrading to 3.10 |
@jamesstaub that didn't work I'm afraid, I downgraded to 3.10.1, same error and then I tried downgrading to 3.8.3 and got the same thing. When I use |
Just to note as well that when using emberfire 2.0.10 I also had to downgrade ember-cli to 3.4.4. This is only thing that is working for me, now I'm getting data showing up in my Firebase database as expected - but it's weird that none of the up to date libraries seem to work for me? |
It seems there could be 2 issues here. This issue predated the generator's being broken in ember data so ember-data's bug did not cause the first |
Is there anything evolving to get v3 installed? Cuz i'm unable to install from emberfire@next (ember generate error), emberfire@v2 is not working with cloud firestore database.. Has anyone managed to install emberfire@v3 ? Cuz i would love to, please. |
@BelaLawson unless there is a compelling reason, you don't need to use emberfire with Firestore. I have found using an Ember Service with Firestore directly has been more than sufficient. Honestly, the Firebase team should look at letting the Ember community and more specifically the Ember Data community manage this project alongside them as updates take far too long. Please do not read that as a negative view on Firebase or the team that support the wonderful tools! I absolutely love Firebase, and @jamesdaniels and team are busy trying to keep the majority of the tools updated such as rxfire, angular/fire, emberfire, and then all of the great firebase packages too. |
@bnetter does the problem persist with |
@puchesjr I absolutely welcome assistance on this project. A good place to start would be a PR rather than asking for NPM credentials. I don't seem to get many volunteers... |
A workaround for now is to just |
Needed |
Version info
Steps to reproduce
Run
ember install emberfire@next
, thenember serve
. Attempt to save some data:Expected behavior
Emberfire should install and the data should send to the Firebase server and display on the server.
Actual behavior
Installing gives this:
And attempting to save the data gives:
The text was updated successfully, but these errors were encountered: