Routing error - Aurelia 2.0.0-beta.18

After updating Aurelia to 2.0.0-beta.18, when navigating, I get this error:

TypeError: Cannot read properties of null (reading ‘children’)
at HrefCustomAttribute.hasLoad (webpack-internal:///./node_modules/@aurelia/router/dist/esm/index.dev.mjs:8740:33)

PS. Routing worked perfectly fine before update.

Can you share your routing config? Which router are you using?

Resolved.

Issue was empty href on an anchor elelement <a href=""></a>

1 Like