Closed roomman closed 2 years ago
Hey @roomman -- are you able to provide a minimal reproduction for this, or give me some steps I could follow to reproduce it myself?
I would say we do not support Embroider until #93 lands; the failures there don't appear to be due to anything in this addon, but until we're running the tests against Embroider, I would say that bugs related to it aren't super high-priority
Hey @alexlafroscia, sorry for the delay in coming back on this.
Minimal reproduction can be found here. I've added individual commits, as follows:
link-to
. When the user clicks they transition to the route. staticComponents
option breaks the build with the following error:
Build Error (PackagerRunner) in templates/application.hbs
Module Error (from ../../../../../../../../Users/simon/Sites/ember-headlessui-linkto-bug/node_modules/thread-loader/dist/cjs.js): Missing component: link-to in templates/application.hbs
I'll keep an eye on [the existing bug report](https://github.com/embroider-build/embroider/issues/815) and close this once it's resolved and the build succeeds.
This was fixed in v0.48.0 of @embroider/compat
:
https://github.com/embroider-build/embroider/blob/master/CHANGELOG.md#v0480-2021-12-07
I checked out the reproduction and bumped the embroider versions to latest and everything works fine now.
Awesome, thanks @bertdeblock, I'll close this issue.
I hit up against this Embroider bug today, while trying to add some
LinkTo
components as menu items, using@tagName
.I see
Missing component: link-to in...
in the console.I just updated to the latest Embroider modules and this is still an unresolved issue. I thought I'd add something here so we can keep track. 👍🏻