Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Uncaught ReferenceError: _EmberObject is not defined

$
0
0

@osawyer wrote:

When my app is served using ember serve, I get this error in the console at the line below at EmberObject.extend.

import EmberObject, { get } from '@ember/object';

const CordovaInterface = EmberObject.extend({
  execute(...) {
    /// Does stuff
  }
});
 
export default CordovaInterface;

This only started after I upgraded ember and all the dependencies.

Other modules I’ve created import and extend from EmberObject. And I believe they’re “loaded” before this one fine.

Please could someone advise, thanks.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles