kitchen-examples icon indicating copy to clipboard operation
kitchen-examples copied to clipboard

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

Open yochrepi opened this issue 10 years ago • 2 comments

Parsing the yaml file says:

Meteor Application Generator - www.meteorkitchen.com                                                                                                                                                                                          
Copyright (c) Petar Korponaić                                                                                                                                                                                                                 
<[email protected]>                                                                                                                                                                                                                   

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.

yochrepi avatar Jul 27 '15 08:07 yochrepi

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 avatar Jul 27 '15 08:07 perak

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

perak avatar Jul 27 '15 09:07 perak