Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't open existing template #25

Open
SvenKempf opened this issue Jul 21, 2016 · 3 comments
Open

can't open existing template #25

SvenKempf opened this issue Jul 21, 2016 · 3 comments
Assignees

Comments

@SvenKempf
Copy link

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

@shenglol
Copy link
Collaborator

Hi,
Are you running ArmViz on your local machine? Could you please check if there is any error info in your browser console?

@SvenKempf
Copy link
Author

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

@shenglol
Copy link
Collaborator

@SvenKempf
Thanks for your comments! I'll fix this in our next version :)

Best,
Shenglong

@shenglol shenglol self-assigned this Jul 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants