Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4868

The `link-to` keyword was used incorrectly error during build

$
0
0

Hello, I am in the process of upgrading a couple of older (> 7 year old) Ember.js apps. I recently upgraded a lot of the packages but when I run ember build, I get the following error:

The `link-to` keyword was used incorrectly. It was used as a call expression, but its valid usages are:

- As an append statement, as in: {{link-to}}

- As a block statement, as in: {{#link-to}}{{/link-to}}

Error caused by:

|
|  {{link-to "Cancel" cancelRoutePath class="btn btn-link"}}
|

According the syntax I have used, everything looks correct. What am I missing?

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4868

Trending Articles