Closed lstrzebinczyk closed 7 years ago
This problem was actually solved by moving to ember-cli-qunit
in version 4.0.0
. Should I close this issue? Posting this, as this information might be useful to somebody else.
What was the full stacktrace?
TypeError: this.ui.warn is not a function
at Class.included (/app-directory/node_modules/ember-cli-template-lint/index.js:25:17)
at Class.superWrapper [as included] (/app-directory/node_modules/ember-cli/node_modules/core-object/lib/assign-properties.js:34:20)
at EmberApp.<anonymous> (/app-directory/node_modules/ember-cli/lib/broccoli/ember-app.js:517:17)
at Array.filter (native)
at EmberApp._notifyAddonIncluded (/app-directory/node_modules/ember-cli/lib/broccoli/ember-app.js:512:47)
at new EmberApp (/app-directory/node_modules/ember-cli/lib/broccoli/ember-app.js:142:10)
at module.exports (/app-directory/ember-cli-build.js:44:15)
at Builder.setupBroccoliBuilder (/app-directory/node_modules/ember-cli/lib/models/builder.js:56:19)
at new Builder (/app-directory/node_modules/ember-cli/lib/models/builder.js:30:10)
at BuildTask.run (/app-directory/node_modules/ember-cli/lib/tasks/build.js:15:19)
I replaced actual app directory with /app-directory
. This happens on ember test
.
So it was an issue fixed between ember-cli-qunit 4.0.0-beta.1 and 4.0.0?
Exactly, moving to 4.0.0 makes the tests pass in flying colors.
Hmm. Ok, lets close his then. Though I'm happy to reopen if others run into it...
I am trying to update to new 0.7.0 version, and when I do that, and try to
ember test
orember serve
, I receive the error in title. Backtrace:This is relevant part of my package.json:
In that
cirilla
is inner company styles lib. I also tried updating toember-source
2.13.0 andember-cli
2.13.2 with no luck.I am quite unsure where this function
this.ui.warn
is supposed to be coming from, please let me know how can I further help with solving this issue. Should I provide more data from package.json?