# Help Requests

**URL:** https://discourse.aurelia.io/c/help-requests/5.md

[Latest](https://discourse.aurelia.io/latest.md) · [Categories](https://discourse.aurelia.io/categories.md)

---

## [About the Help Requests category](https://discourse.aurelia.io/t/about-the-help-requests-category/17)

<div class="topic-metadata">

**Author:** [@patrickwaltersc21](https://discourse.aurelia.io/u/patrickwaltersc21)\
**Replies:** 0

</div>

Requests from others for help. Please keep in mind that StackOverflow.com is also a great resource for asking general code questions to keep the forums to the highest level of content.

---

## ["Default TypeScript Aurelia 2 App" template broken - \`host\` undefined](https://discourse.aurelia.io/t/default-typescript-aurelia-2-app-template-broken-host-undefined/6465)

<div class="topic-metadata">

**Author:** [@nenadvicentic](https://discourse.aurelia.io/u/nenadvicentic)\
**Replies:** 9\
**Last updated:** [May 22, 2026, 5:24am UTC](https://discourse.aurelia.io/t/default-typescript-aurelia-2-app-template-broken-host-undefined/6465 "2026-05-22T05:24:27Z")

</div>

Hi guys, I have just tried to create new Aurelia 2 app with npx makes aurelia, choosing: Default TypeScript Aurelia 2 App After running: npm install npm start Aurelia 2 application brakes in the browser with foll…

---

## [\[Aurelia 1\] Returning a value upon successful navigation to a route / Clarifications about router events](https://discourse.aurelia.io/t/aurelia-1-returning-a-value-upon-successful-navigation-to-a-route-clarifications-about-router-events/6609)

<div class="topic-metadata">

**Author:** [@m-gallesio](https://discourse.aurelia.io/u/m-gallesio)\
**Replies:** 4\
**Last updated:** [May 5, 2026, 2:11pm UTC](https://discourse.aurelia.io/t/aurelia-1-returning-a-value-upon-successful-navigation-to-a-route-clarifications-about-router-events/6609 "2026-05-05T14:11:20Z")

</div>

Greetings. We are using Aurelia 1. We are building a page which acts as a carousel component whose pages are routes in a child router which fetch data from a backend. To detect when a page has finished loading, we use…

---

## [\[Aurelia 1\] Bindings non-functional in Safari 26.x](https://discourse.aurelia.io/t/aurelia-1-bindings-non-functional-in-safari-26-x/6599)

<div class="topic-metadata">

**Author:** [@LKR](https://discourse.aurelia.io/u/LKR)\
**Replies:** 2\
**Last updated:** [March 24, 2026, 8:48pm UTC](https://discourse.aurelia.io/t/aurelia-1-bindings-non-functional-in-safari-26-x/6599 "2026-03-24T20:48:39Z")

</div>

Hi everyone! Our team maintains an app that was written in Aurelia 1 about 3-4 years ago. With the latest release of MacOS and Safari 26.x (Tahoe) some of the bindings have broken down completely, rendering the applicati…

---

## [Au 2.0RC: Default Vite/Babel skeleton uses Vite 6.0.3; displaced breakpoints](https://discourse.aurelia.io/t/au-2-0rc-default-vite-babel-skeleton-uses-vite-6-0-3-displaced-breakpoints/6573)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 11\
**Last updated:** [February 23, 2026, 8:54pm UTC](https://discourse.aurelia.io/t/au-2-0rc-default-vite-babel-skeleton-uses-vite-6-0-3-displaced-breakpoints/6573 "2026-02-23T20:54:18Z")

</div>

Hello Everyone, In the spirit of firing up Au 2.0RC… I just ran npx makes aurelia with the following configuration (copied from the terminal): npx makes aurelia new-project-name -s babel,vitest and Vite 6.0.3 is inst…

---

## [AU2 Multiple validation controllers](https://discourse.aurelia.io/t/au2-multiple-validation-controllers/6591)

<div class="topic-metadata">

**Author:** [@elitemike](https://discourse.aurelia.io/u/elitemike)\
**Replies:** 6\
**Last updated:** [February 12, 2026, 9:05pm UTC](https://discourse.aurelia.io/t/au2-multiple-validation-controllers/6591 "2026-02-12T21:05:45Z")

</div>

UPDATE: I may have figured it out but can’t test thoroughly right now. Working through my form builder migration and I hit a spot that is stumping me. I have a control that I call a List Builder, and it utilizes a coll…

---

## [Au 2.0RC: Mismatch error in the number of views of a repeat.for after external DOM manipulation (SortableJS)](https://discourse.aurelia.io/t/au-2-0rc-mismatch-error-in-the-number-of-views-of-a-repeat-for-after-external-dom-manipulation-sortablejs/6592)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 4\
**Last updated:** [February 11, 2026, 2:08am UTC](https://discourse.aurelia.io/t/au-2-0rc-mismatch-error-in-the-number-of-views-of-a-repeat-for-after-external-dom-manipulation-sortablejs/6592 "2026-02-11T02:08:34Z")

</div>

Hello, In my Au 1.0 app, I have my own implementation of drag-and-drop. In migrating to Au 2.0, I have decided to utilize SortableJS (vanilla). It was easy enough to get up and running, and is actually working just fi…

---

## [AU1 to AU2 differences with gloabl registration?](https://discourse.aurelia.io/t/au1-to-au2-differences-with-gloabl-registration/6556)

<div class="topic-metadata">

**Author:** [@elitemike](https://discourse.aurelia.io/u/elitemike)\
**Replies:** 8\
**Last updated:** [February 5, 2026, 11:26pm UTC](https://discourse.aurelia.io/t/au1-to-au2-differences-with-gloabl-registration/6556 "2026-02-05T23:26:26Z")

</div>

I’m working on converting a part of my application that allows 3rd party developers to create their own form. I was moving right along when I hit a roadblock that doesn’t make sense to me. The concept itself isn’t grou…

---

## [Au 2.0: How to add metadata to validation properties (not rules, but properties)](https://discourse.aurelia.io/t/au-2-0-how-to-add-metadata-to-validation-properties-not-rules-but-properties/6576)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 13\
**Last updated:** [February 1, 2026, 6:08pm UTC](https://discourse.aurelia.io/t/au-2-0-how-to-add-metadata-to-validation-properties-not-rules-but-properties/6576 "2026-02-01T18:08:29Z")

</div>

Hello, I’ve decided in migrating to 2.0 to abandon my validator in favor of Aurelia’s, largely because of the state-based validation implementation, which I hadn’t implemented yet on my own validator. But I need to be …

---

## [Child router and sibling navigation](https://discourse.aurelia.io/t/child-router-and-sibling-navigation/6570)

<div class="topic-metadata">

**Author:** [@magnusdanielson](https://discourse.aurelia.io/u/magnusdanielson)\
**Replies:** 3\
**Last updated:** [January 21, 2026, 6:03pm UTC](https://discourse.aurelia.io/t/child-router-and-sibling-navigation/6570 "2026-01-21T18:03:13Z")

</div>

We have a parent route defined with /home /other1 and /other2. /home is the default route. /home also has routes defined /r1 /r2 /r3 where /r1 is the default route. When the user starts the app he is now on /home/r1. Wh…

---

## [Au 2.0: Concerning au-compose, activate is called when the model is replaced, but deactivate is not called on the outgoing composition](https://discourse.aurelia.io/t/au-2-0-concerning-au-compose-activate-is-called-when-the-model-is-replaced-but-deactivate-is-not-called-on-the-outgoing-composition/6564)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 2\
**Last updated:** [January 2, 2026, 12:31am UTC](https://discourse.aurelia.io/t/au-2-0-concerning-au-compose-activate-is-called-when-the-model-is-replaced-but-deactivate-is-not-called-on-the-outgoing-composition/6564 "2026-01-02T00:31:44Z")

</div>

Hello, I’m making some improvements to my tabbed viewer as I migrate from Au 1.0 1o Au 2.0. As I click through the tabs, activate is called and all is well for the incoming component; deactivate, however, is not call…

---

## [Au 2.0: Contextual property $previous not working on repeat.for (all other contextuals do work)](https://discourse.aurelia.io/t/au-2-0-contextual-property-previous-not-working-on-repeat-for-all-other-contextuals-do-work/6563)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 6\
**Last updated:** [December 30, 2025, 2:59am UTC](https://discourse.aurelia.io/t/au-2-0-contextual-property-previous-not-working-on-repeat-for-all-other-contextuals-do-work/6563 "2025-12-30T02:59:21Z")

</div>

Hello, I have the following simplistic list rendering (I thought I would try out $previous to simplify rendering navigational tabs): \<template repeat.for="module of tabsModel; key: module.topic"\> \<!-- \<test harness t…

---

## [Au 2.0: Template refs with repeat.for](https://discourse.aurelia.io/t/au-2-0-template-refs-with-repeat-for/6559)

<div class="topic-metadata">

**Author:** [@estaylorco](https://discourse.aurelia.io/u/estaylorco)\
**Replies:** 3\
**Last updated:** [December 24, 2025, 3:07am UTC](https://discourse.aurelia.io/t/au-2-0-template-refs-with-repeat-for/6559 "2025-12-24T03:07:51Z")

</div>

Hello, I’ve searched the documentation, and Discourse, and I can’t seem to find a definitive approach to template refs with a repeat.for. A number of Discourse posts sort of swirl around the issue, but none seems to be…

---

## [Fetch client not serializing body correctly](https://discourse.aurelia.io/t/fetch-client-not-serializing-body-correctly/6531)

<div class="topic-metadata">

**Author:** [@davidsk](https://discourse.aurelia.io/u/davidsk)\
**Replies:** 6\
**Last updated:** [December 18, 2025, 8:46am UTC](https://discourse.aurelia.io/t/fetch-client-not-serializing-body-correctly/6531 "2025-12-18T08:46:30Z")

</div>

POST requests are failing using the @aurelia/fetch-client@2.0.0-beta.23. The response returns with a “Request body contains invalid JSON” message. Inspecting the request in Fiddler shows the body as \[object Object\] Th…

---

## [\[au2\] router(-lite) - structured routers + access parent params](https://discourse.aurelia.io/t/au2-router-lite-structured-routers-access-parent-params/6539)

<div class="topic-metadata">

**Author:** [@migajek](https://discourse.aurelia.io/u/migajek)\
**Replies:** 0\
**Last updated:** [November 5, 2025, 8:05pm UTC](https://discourse.aurelia.io/t/au2-router-lite-structured-routers-access-parent-params/6539 "2025-11-05T20:05:44Z")

</div>

Hi, I’m struggling to find an example of how to (cleanly) access the route parameter that is defined on the parent route. say we have a module named “spot”: @route({ routes: \[ { id: 'data', path: 'data/:channe…

---

## [Best practice for referencing this.element](https://discourse.aurelia.io/t/best-practice-for-referencing-this-element/6516)

<div class="topic-metadata">

**Author:** [@aGustafson](https://discourse.aurelia.io/u/aGustafson)\
**Replies:** 4\
**Last updated:** [October 23, 2025, 4:34am UTC](https://discourse.aurelia.io/t/best-practice-for-referencing-this-element/6516 "2025-10-23T04:34:38Z")

</div>

Hi, Just a quick question as I dont find it explicitly in the documentation.What’s the current best practice for referencing the component’s DOM element from the controller? Is it to inject the INode list this? import…

---

## [Referencing routes from in code](https://discourse.aurelia.io/t/referencing-routes-from-in-code/6522)

<div class="topic-metadata">

**Author:** [@jsobell](https://discourse.aurelia.io/u/jsobell)\
**Replies:** 0\
**Last updated:** [October 11, 2025, 6:31am UTC](https://discourse.aurelia.io/t/referencing-routes-from-in-code/6522 "2025-10-11T06:31:17Z")

</div>

OK, I’m trying to jump to the previous page in my nested router. I’m currently in child /1 (/app/1234567/2) and I want to go back to /app/1234567/1. My @route table is set up in the ‘app’ component with definitions for ‘…

---

## [My 'get' methods are not firing, and I do not know why](https://discourse.aurelia.io/t/my-get-methods-are-not-firing-and-i-do-not-know-why/6517)

<div class="topic-metadata">

**Author:** [@MWMjr](https://discourse.aurelia.io/u/MWMjr)\
**Replies:** 3\
**Last updated:** [September 16, 2025, 4:19pm UTC](https://discourse.aurelia.io/t/my-get-methods-are-not-firing-and-i-do-not-know-why/6517 "2025-09-16T16:19:19Z")

</div>

I’m migrating a project from Aurelia 1 to Aurelia 2, and I’m unable to replicate the capabilities of the @computedFrom(‘xxxx’) decorator. The code I’m trying to replicate looks like this: @observable Type\_RTK: string;…

---

## [Router(-lite) route component instance](https://discourse.aurelia.io/t/router-lite-route-component-instance/6492)

<div class="topic-metadata">

**Author:** [@dspublic](https://discourse.aurelia.io/u/dspublic)\
**Replies:** 7\
**Last updated:** [August 9, 2025, 1:49pm UTC](https://discourse.aurelia.io/t/router-lite-route-component-instance/6492 "2025-08-09T13:49:43Z")

</div>

I’m in the process of migrating from the Direct Router to Router Lite. I have a parameterized endpoint 'contentPage/\*name' defined like this: static routes = \[ { path: \['home', '/'\], component: import('./base/componen…

---

## [Router Animation with Router(-Lite)](https://discourse.aurelia.io/t/router-animation-with-router-lite/6485)

<div class="topic-metadata">

**Author:** [@davidsk](https://discourse.aurelia.io/u/davidsk)\
**Replies:** 3\
**Last updated:** [July 27, 2025, 7:09am UTC](https://discourse.aurelia.io/t/router-animation-with-router-lite/6485 "2025-07-27T07:09:47Z")

</div>

The router-direct docs have a page on animation on routing lifecycle events but the same does not exist for router(-lite). The example swaps the animation based on whether the user is navigating backwards but I can’t se…

---

## [Event aggregator publish event from a value converter](https://discourse.aurelia.io/t/event-aggregator-publish-event-from-a-value-converter/6474)

<div class="topic-metadata">

**Author:** [@vladyn](https://discourse.aurelia.io/u/vladyn)\
**Replies:** 3\
**Last updated:** [July 13, 2025, 3:02pm UTC](https://discourse.aurelia.io/t/event-aggregator-publish-event-from-a-value-converter/6474 "2025-07-13T15:02:30Z")

</div>

Hello everybody, I’m trying to do something (which is probably an anti-pattern), but I need an event published from a values converter. I have TypeError: can't access property "publish", this.eventAggregator is undef…

---

## [Aurelia Store Container.instance.get(Store) fails in multiple tests](https://discourse.aurelia.io/t/aurelia-store-container-instance-get-store-fails-in-multiple-tests/6457)

<div class="topic-metadata">

**Author:** [@vladyn](https://discourse.aurelia.io/u/vladyn)\
**Replies:** 0\
**Last updated:** [June 25, 2025, 7:14am UTC](https://discourse.aurelia.io/t/aurelia-store-container-instance-get-store-fails-in-multiple-tests/6457 "2025-06-25T07:14:10Z")

</div>

Hello there, I have this error in multiple unit tests: FAIL src/features/state-tree/actions.spec.js ● Test suite failed to run TypeError: Cannot read properties of undefined (reading 'get') 2 | import {…

---

## [Router-lite to Build Navigation Menu](https://discourse.aurelia.io/t/router-lite-to-build-navigation-menu/6455)

<div class="topic-metadata">

**Author:** [@elmt1](https://discourse.aurelia.io/u/elmt1)\
**Replies:** 3\
**Last updated:** [June 17, 2025, 7:13am UTC](https://discourse.aurelia.io/t/router-lite-to-build-navigation-menu/6455 "2025-06-17T07:13:57Z")

</div>

I use the router-lite in my applications and build a navigation menu. I have a route that has some optional parameters. For building a menu, they do not come into play however, the path is something like some-component/:…

---

## [Strange behavior of t.bind in Aurelia 2](https://discourse.aurelia.io/t/strange-behavior-of-t-bind-in-aurelia-2/6443)

<div class="topic-metadata">

**Author:** [@graycrow](https://discourse.aurelia.io/u/graycrow)\
**Replies:** 7\
**Last updated:** [June 9, 2025, 4:29pm UTC](https://discourse.aurelia.io/t/strange-behavior-of-t-bind-in-aurelia-2/6443 "2025-06-09T16:29:00Z")

</div>

While migrating my apps to Aurelia 2, I noticed strange behavior with the binding for the translation attribute, t. Here is simplified example: \<div if.bind="obj"\> \<span t.bind="obj.property"\>\</span\> \</div\> If the …

---

## [Replacing aurelia-authentication](https://discourse.aurelia.io/t/replacing-aurelia-authentication/6453)

<div class="topic-metadata">

**Author:** [@norgie](https://discourse.aurelia.io/u/norgie)\
**Replies:** 1\
**Last updated:** [June 7, 2025, 11:33pm UTC](https://discourse.aurelia.io/t/replacing-aurelia-authentication/6453 "2025-06-07T23:33:59Z")

</div>

Hi. I don’t know how many of you are familiar with Duende Software’s IdentityServer and its companion product BFF (back-end for front-end). The latter is a .Net component designed to package the necessary components to …

---

## [Debugging from a Value converter](https://discourse.aurelia.io/t/debugging-from-a-value-converter/6430)

<div class="topic-metadata">

**Author:** [@vladyn](https://discourse.aurelia.io/u/vladyn)\
**Replies:** 10\
**Last updated:** [May 20, 2025, 11:49pm UTC](https://discourse.aurelia.io/t/debugging-from-a-value-converter/6430 "2025-05-20T23:49:19Z")

</div>

Hi there, I have the following task and am investigating ways to solve it. It’s about debugging. I have a value converter that is widely used across the entire app. I want it under certain conditions, for example: toVi…

---

## [\[Aurelia 1\] Lazily resolve a module by name](https://discourse.aurelia.io/t/aurelia-1-lazily-resolve-a-module-by-name/6429)

<div class="topic-metadata">

**Author:** [@m-gallesio](https://discourse.aurelia.io/u/m-gallesio)\
**Replies:** 2\
**Last updated:** [May 16, 2025, 5:54am UTC](https://discourse.aurelia.io/t/aurelia-1-lazily-resolve-a-module-by-name/6429 "2025-05-16T05:54:18Z")

</div>

Greetings. We use Aurelia 1 + dumber bundler. We have a module which has rather heavy dependencies which we keep in a separate bundle, so in some cases we want to load it lazily. This means NOT using import to import …

---

## [Error in vite packaged web site](https://discourse.aurelia.io/t/error-in-vite-packaged-web-site/6409)

<div class="topic-metadata">

**Author:** [@elmt1](https://discourse.aurelia.io/u/elmt1)\
**Replies:** 2\
**Last updated:** [May 2, 2025, 12:29pm UTC](https://discourse.aurelia.io/t/error-in-vite-packaged-web-site/6409 "2025-05-02T12:29:03Z")

</div>

I have been migrating a Web site from Aurelia 1 to Aurelia 2. I used this template as a base. After migrating 20 or30 pages I tested the producuction deployment and it seemed OK. Now after adding quite a few more pages I…

---

## [Swapping components](https://discourse.aurelia.io/t/swapping-components/6362)

<div class="topic-metadata">

**Author:** [@davidsk](https://discourse.aurelia.io/u/davidsk)\
**Replies:** 2\
**Last updated:** [April 22, 2025, 7:00am UTC](https://discourse.aurelia.io/t/swapping-components/6362 "2025-04-22T07:00:09Z")

</div>

The dynamic composition docs suggest that the au-compose element is suitable for “Dynamically swap\[ping\] components based on user state or configuration” but the examples demonstrate doing this with literal values (strin…

---

## [Can't import another component as a dependency when using a wrapper for @customElement decorator](https://discourse.aurelia.io/t/cant-import-another-component-as-a-dependency-when-using-a-wrapper-for-customelement-decorator/6406)

<div class="topic-metadata">

**Author:** [@danjvarela](https://discourse.aurelia.io/u/danjvarela)\
**Replies:** 1\
**Last updated:** [April 15, 2025, 3:32am UTC](https://discourse.aurelia.io/t/cant-import-another-component-as-a-dependency-when-using-a-wrapper-for-customelement-decorator/6406 "2025-04-15T03:32:22Z")

</div>

Hello there, We currently have a decorator that essentially just calls @customElement behind the scene and adds some default dependencies/options to it: import { type Constructable, type Key } from '@aurelia/kernel'; i…

[Next page](https://discourse.aurelia.io/c/help-requests/5.md?page=1)
