can't open existing template
Hi, unfortunately, I'm not able to load an existing local template. I can browse for it in the open dialog, but nothing happens, when I click on "open"
I'm using ArmViz on Windows 10. Node.js is in version 4.4.4
Hi, Are you running ArmViz on your local machine? Could you please check if there is any error info in your browser console?
Hi, yes, I'm using it on a local machine. This is the output in the console:
Uncaught SyntaxError: Unexpected token / in JSON at position 1345 ArmTemplate.CreateFromJson @ index.module.js:519 fileReader.onload @ index.module.js:21
I'm wondering about that message, because the template is working in Azure.
I Think the issue is caused by using comments in our JSON templates ( indicated by // ). After removing those comments, I'm able to open a template. But for us those comments are really helpful ;-)
Best regards Sven
@SvenKempf Thanks for your comments! I'll fix this in our next version :)
Best, Shenglong