invalid character '/' looking for beginning of object key string
manuelmeurer opened this issue · comments
I get the following error:
invalid character '/' looking for beginning of object key string
I have my config files in the same folder as the alpaca
binary and ran ./alpaca . --no-php --no-python --no-node
.
Here are my config files: https://gist.github.com/manuelmeurer/0678cc19922ccabdfe46
Running v0.2.0 amd64 darwin on Mac OS X 10.9.1
Would be great if the binary had a --debug
or --trace
option that prints out debug info and, in case of a crash, where exactly in the code it happened.
I dont think comments are allowed when golang reads the JSON files. Could you try after removing the comments?
Ah yes, that was the problem! I had to remove all comments, not only lines that were completely commented out but also comments at the end of lines.
Maybe a comment in the README above those examples with comments would be good, so that people know to remove them?
Definitely. Thanks :)