AUR0166

Error Message

AUR0166: Expression error: unterminated template string: "{{expression}}"

Description

This error occurs when a template string (backticks) in a binding expression is missing the closing backtick.

Example Trigger

<!-- ❌ Missing closing backtick -->
<div textcontent.bind="`Hello ${name}"></div>

Solution

  • Close the template string:

<!-- ✅ -->
<div textcontent.bind="`Hello ${name}`"></div>

Troubleshooting

  • If you don’t need a template string, use normal string concatenation or move formatting into a view-model getter.

Last updated

Was this helpful?