link-to-external `targetRouteName` is undefined
See original GitHub issueWithin an engine the link-to-external
component is throwing an error when attempting to get the external route. After stepping into the code it looks like the targetRouteName
is undefined
on the component. So this causes the _getExternalRoute
to fail the external route lookup on the provided dependencies.
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Link-to and link-to-external are not working with ember 3.10
Looking at the code, it seems that again, the targetRouteName is undefined. Not sure if its the same or similar issue this time....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Agreed, submitted https://github.com/dgeb/ember-engines/pull/270 to address. Thanks for tracking it down!
Robert Jackson
– twitter: rwjblue – github: rjackson
@trentmwillis Reproducing lead me to the issue. I was simply missing the dependency declaration step in
engine.js
.If you miss the
app.js
config step, it throws:Conversely, missing the
engine.js
config step surfaces as:I’ll go ahead and clean up this thread. Thanks for your help.