Found this bug in a monorepo setup with multiple apps, where one app was using an older version (3.26, so needed the modules API polyfill) while the others were on 3.28. With most dependencies being hoisted in the central /node_modules, for any addon that depends on ember-cli-htmlbars it would find the wrong ember-source package, namely /node_modules/ember-source (3.28) instead of apps/foo-app/node_modules/ember-source (the correct 3.26 version).
Found this bug in a monorepo setup with multiple apps, where one app was using an older version (3.26, so needed the modules API polyfill) while the others were on 3.28. With most dependencies being hoisted in the central
/node_modules
, for any addon that depends on ember-cli-htmlbars it would find the wrong ember-source package, namely/node_modules/ember-source
(3.28) instead ofapps/foo-app/node_modules/ember-source
(the correct 3.26 version).Fixes #687