LinusU / node-appdmg

💾 Generate your app dmgs
MIT License
1.68k stars 152 forks source link

Parsing JSON Specification Error #74

Closed vbasky closed 8 years ago

vbasky commented 8 years ago

I get this error "Unexpected token /"

The error is not intuitive. Please elaborate the error message

LinusU commented 8 years ago

Try pasting your json into JSONLint to get better error messages.

This error comes from V8/Node.js, it would be awesome if it where better though. It is fixable in userland but I think it's a bit too much work for the small benefit.

temmink commented 8 years ago

you have to remove the // comments in the appdmg.json file. Then it will finished with that error-message. How-ever I still have an error-message at stage 19 "Finalizing image... FAIL"

havenchyk commented 8 years ago

Can be closed. /cc @LinusU