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 fails under Fastboot

See original GitHub issue

Version info

DEBUG: Ember      : 2.6.2
DEBUG: Ember Data : 2.6.1
DEBUG: Firebase   : 3.2.0
DEBUG: EmberFire  : 2.0.1

Steps to reproduce

Run an EmberFire app with fastboot:

$ ember fastboot --serve-assets
Built project successfully. Stored in "dist".
Installing FastBoot npm dependencies
DEBUG: -------------------------------
DEBUG: Ember      : 2.6.2
DEBUG: Ember Data : 2.6.1
DEBUG: Firebase   : 3.2.0
DEBUG: EmberFire  : 2.0.1
DEBUG: -------------------------------
Ember FastBoot running at http://[::]:3000

and visit any page that loads data through Emberfire

Expected behavior

Fastboot loads the data and renders the page.

Actual behavior

Fastboot fails with Error while processing route: index The XMLHttpRequest compatibility library was not found.

This error message comes from bower_components/firebase/firebase.js, but that file’s source is obfuscated, making it difficult to debug further. Is there an unobfuscated version of the current firebase.js lib available? It used to be possible to access firebase-debug.js but the current location of firebase.js doesn’t seem to have a debug version available.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

9reactions
rwwagner90commented, Aug 17, 2016

I put up a PR for fastboot support, if people can go thumbs up it and/or comment on it, perhaps we can move toward getting it merged in! https://github.com/firebase/emberfire/pull/419

1reaction
tstirratcommented, Sep 29, 2016

#419 we’re working on this, expecting that we will have support for fastboot soon including data retrieval, however we don’t expect the first fastboot compatible release will have fastboot auth session support.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FastBoot is broken · Issue #500 · FirebaseExtended/emberfire
So the FastBoot for EmberFire is broken. When fetching data, the promise doesn't resolve or catch an error. In my investigation, I tried ......
Read more >
Fastboot and embroider build failures - Build Issues - Ember.JS
I've got a new Ember app (3.26) that was running nicely with Fastboot enabled. I just added Embroider and now I am getting...
Read more >
fastboot cannot recognize device but adb can - XDA Forums
I have a similar problem. I tried to disable the signature. Installed a new Redmi Note 7 driver. The phone is recognized as...
Read more >
Shoebox - Ember FastBoot
FastBoot works by creating a Node.js process and executing your Ember application within it. Most Ember applications should work out of the box....
Read more >
Windows 10 & Android Fastboot (Device Failed Enumeration
My HTC Device Is Also Recognized In "HBOOT Mode". It Shows "USB BOS Descriptor Failed" & "Device Failed Enumeration - Error Code 43"...
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