question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

emberfire install results in generate error message

See original GitHub issue

Version info

DEBUG: Ember      : 3.10.1
DEBUG: Ember Data : 3.10.0
DEBUG: EmberFire  : 3.0.0-rc.3
DEBUG: jQuery     : 3.4.1
DEBUG: -------------------------------

Steps to reproduce

Run ember install emberfire@next, then ember serve. Attempt to save some data:

const newInvitation = this.store.createRecord('invitation', {email: email});
newInvitation.save()

Expected behavior

Emberfire should install and the data should send to the Firebase server and display on the server.

Actual behavior

Installing gives this:

$ ember install emberfire@next                                        
- Installing addon package                                            
- npm: Installing emberfire@next ...                                  
npm: Installed emberfire@next                                         
installing emberfire                                                  
The `ember generate ` command requires an entity name to  be specified. For more details, use `ember help`.
--

And attempting to save the data gives:

Failed to create an instance of 'adapter:application'. Most likely an improperly defined class or an invalid module export.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
puchesjrcommented, Sep 21, 2019

@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.

1reaction
jamesdanielscommented, Oct 8, 2019

Needed normalizeEntityName in the blueprint. Addressed in rc.4

Read more comments on GitHub >

github_iconTop Results From Across the Web

emberfire install results in generate error message · Issue #581
I get this error: npm: Installed emberfire installing emberfire The `ember generate <entity-name>` command requires an entity name to be ...
Read more >
Install issues with emberfire - Ember CLI
npm install —save emberfire ember generate emberfire. But the last command resulted in this errror. The `ember generate <entity-name>` ...
Read more >
Unexpected token ; Emberfire not installing with ember-cli
I have been breaking my head on installing emberfire to set up a backend and database ... ember install emberfire. i am getting...
Read more >
emberfire-utils - npm
Your app needs to have EmberFire installed for this addon to work. Features. Flexible Adapter and Serializer. Save and delete records with fan-out;...
Read more >
Encountering Error Messages | GRANTS.GOV
This page explains common error messages encountered by applicants while completing or submitting an application package. Many errors are a result of Adobe ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found