Skip to content
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

error querying firestore in fastboot mode #607

Open
marendra opened this issue Mar 25, 2020 · 1 comment
Open

error querying firestore in fastboot mode #607

marendra opened this issue Mar 25, 2020 · 1 comment

Comments

@marendra
Copy link

DEBUG: Ember : 3.15.0
DEBUG: Ember Data : 3.15.1
DEBUG: EmberFire : 3.0.0-rc.6
DEBUG: Firebase : 7.12.0
DEBUG: -------------------------------

i tried in the application.js
import Route from '@ember/routing/route';
import {inject as service} from '@ember/service';

          export default class ApplicationRoute extends Route {
          @service store;
        model(){
                  return this.store.findAll('user');
                       }
             }

The error message are:

webpack://ember_auto_import/./node_modules/@firebase/webchannel-wrapper/dist/index.esm.js?:713
throw a;
^

ReferenceError: XMLHttpRequest is not defined
at X.g.ca (webpack://ember_auto_import/./node_modules/@firebase/webchannel-wrapper/dist/index.esm.js?:1804:16)
at cc (webpack://ember_auto_import/./node_modules/@firebase/webchannel-wrapper/dist/index.esm.js?:1018:94)
at ac (webpack://ember_auto_import/./node_modules/@firebase/webchannel-wrapper/dist/index.esm.js?:997:3)
at Ad.g.Ha (webpack://ember_auto_import/./node_modules/@firebase/webchannel-wrapper/dist/index.esm.js?:2180:83)
at Ab (webpack://ember_auto_import/./node_modules/@firebase/webchannel-wrapper/dist/index.esm.js?:739:11)

@benjaminbalazs
Copy link

I am also curious about how to tackle this issue as the documentation is empty for Fastboot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants