Closed noplisu closed 6 years ago
@noplisu any chance you can push this addon anywhere for me to debug against?
The error was caused by me using this._super.included(app)
in index.js
, included
of my addon instead of this._super.included.apply(this, arguments);
I am creating a ember addon. When adding
ember-cli-moment-shim
to dependencies inpackage.json
I am getting an error:The error is caused by
this.momentNode
being undefined inindex.js:146
When testing this I am getting
undefined
for boththis._options
andthis.momentNode
when checking them outside ofincluded
where they are assigned.included
is called beforetreeForVendor
. Any ideas what is causing this error ?