When I use the command ember install emberfire@next in my app directory I get the following output:
npm: Installed emberfire@next
installing emberfire
The `ember generate <entity-name>` command requires an entity name to be specified. For more details, use `ember help`.
I’m not sure about the first error you saw when installing emberfire with ember install. It sounds like a bug.
This syntax is shorthand for the beta version of a package. You can explore what it evaluates to for a given package using yarn info <packagename> or npm view <packagename>. The first couple of lines from yarn info emberfire show that @next resolves to 3.0.0-rc.3:
yarn info v1.17.3
{ name:
'emberfire',
description:
'The officially supported Ember binding for Firebase',
'dist-tags':
{ latest:
'2.0.10',
canary:
'3.0.0-canary.e89fbb9',
next:
'3.0.0-rc.3' },
@efx thanks for the info, I posted to that thread over on the emberfire issues, someone said that it was a bug and I should downgrade to 3.10 but that didn’t work, neither did downgrading to ember-cli 3.8.4! I ended up discovering that ember install emberfire@2.0.10 worked without an issue, but subsequently I found that I needed to downgrade ember-cli to 3.4.4.
Anyway, I have it working at that and I have been able to get data into my Firebase database. This whole thing does seem to be a bit of mess of incompatible libraries and versions though - maybe it’s just me!
great to hear you are unblocked! Wading through dependency bugs can be incredibly frustrating; I’ve been bit by the problem more times than I care to count in ember applications that have a number dependencies. I commented on that issue as well because I think something still seems off.
@the_lar Sorry this has been your experience. These issue can definitely be frustrating, but I wouldn’t say this is the norm at all so hopefully that’s not your impression. EmberFire has been under pretty heavy development recently and there have been a couple issues in the newest Ember Dat release so I think it might just be a confluence of circumstances.
I could be wrong since they weren’t specific in the EmberFire issue thread but you may only need to downgrade Ember Data to <3.11 and leave ember-cli, etc at latest. Ember Data had one or more issues in the recent 3.11 release that broke some blueprint functionality. That may not fix everything for you and it sounds like you already found a way forward, but there’s a lot of cool features in Ember 3.10/3.11 so it would be nice to not have to go back that far (3.4.4) with everything.