Strange Bug _ember_modifier__WEBPACK_IMPORTED_MODULE_1__.setModifierManager is not a function
#681
Labels
bug
Something isn't working
This is a very strange bug, and I'm not really sure where this should belong.
But we have a reproduction.
It occurs if:
@ember/modifier';
is imported inroutes/application.js
import { on } from '@ember/modifier';
ember-autofocus-modifier/modifiers/autofocus';
is indirectly importedroutes/application.js
import import Navigation from 'my-app/components/navigation';
is present inroutes/application.js
import autofocus from 'ember-autofocus-modifier/modifiers/autofocus';
incomponents/navigation.js
"ember-modifier": "^4.0.0",
is present inpackage.json
, no import necessaryThen the app fails to boot with:
Relevant discussion on Discord
The text was updated successfully, but these errors were encountered: