minutebase / ember-can

Simple authorisation addon for Ember apps
http://ember-can.com
MIT License
270 stars 50 forks source link

Incompatibility with `ember-resolver` v13.x #185

Open wozny1989 opened 2 days ago

wozny1989 commented 2 days ago

Description:

After upgrading ember-resolver to version 13.x, the application encounters an error that prevents it from running correctly when using ember-can. The error message is as follows:

ember_resolver__WEBPACK_IMPORTED_MODULE_0__.default.reopen is not a function
    at webpack://__ember_auto_import__/./node_modules/ember-can/dist/initializers/setup-ember-can.js:7:56

Steps to Reproduce:

Expected Behavior:

The application should run without any errors when using ember-can with the updated ember-resolver package.

Actual Behavior:

The application fails to run due to the above-mentioned error.

Environment:

Ember.js version: 5.12 ember-resolver version: 13.0.1 ember-can version: 6.0.0 Node.js version: 20.x

mkszepp commented 2 days ago

I have asked same issue in ember-resolver.

Conlusion: we need to move to native class inside this addon.

See https://github.com/ember-cli/ember-resolver/issues/984