[AC-4705] I can't use 'let' keyword
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Resolved |
| Resolution | Duplicate |
| Resolution Date | 2017-01-03T12:47:05.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | n/a |
| Reporter | Jérémy Tonneau |
| Assignee | Shak Hossain |
| Created | 2017-01-03T10:38:07.000+0000 |
| Updated | 2017-01-03T12:47:05.000+0000 |
Description
Hello,
While your doc said that Node 4.6 is supported for app I can't do that :
let i = 0;
i++;
This example is stupid, I know but it produce this :
[ERROR] : Error generating AST for "/***/app/controllers/products/productsScroll.js"
[ERROR] : Unexpected token: name (i)
[ERROR] : line 38, column 4, position 1120
[ERROR] : Alloy compiler failed
Any idea why ?
Resolving as Duplicate of TIMOB-19834