perak / kitchen-examples

Meteor Kitchen examples
164 stars 115 forks source link

Error parsing JSON. Parsing stopped at line 667 char 21. #22

Open yochrepi opened 9 years ago

yochrepi commented 9 years ago

Parsing the yaml file says:

Meteor Application Generator - www.meteorkitchen.com                                                                                                                                                                                          
Copyright (c) Petar Korponaić                                                                                                                                                                                                                 
<petar.korponaic@gmail.com>                                                                                                                                                                                                                   

Converting yaml to json using "js-yaml"...                                                                                                                                                                                                    
JS-YAML: end of the stream or a document separator is expected at line 6, column 19:                                                                                                                                                          
      <head prefix="og: http://ogp.me/ns# fb: http://o ...                                                                                                                                                                                    
                      ^                                                                                                                                                                                                                       
Reading input file...                                                                                                                                                                                                                         

Error parsing JSON. Parsing stopped at line 1 char 1.
perak commented 9 years ago

Looks like you passed html as input file (not json nor yaml) ? Please give me instructions how to reproduce this. If you are using web service (web based yaml or json editor), maybe you passed wrong url to meteor-kitchen (url returns web page instead yaml/json)

perak commented 9 years ago

Or, if your yaml file contains somewhere that <head ... html snippet, maybe string is not properly escaped