kitchen-site
kitchen-site copied to clipboard
More helpful error message for missing YAML parser
A missing exception and a good opportunity for a better error message.
Running meteor-kitchen example-photosharing.yaml build/
Actual Output:
Source code generator for Meteor.js - www.meteorkitchen.com
Copyright (c) Petar Korponaić
<[email protected]>
Converting yaml to json using "js-yaml"...
sh: js-yaml: command not found
Reading input file...
Error parsing JSON. Parsing stopped at line 1 char 1.
Better Output:
Source code generator for Meteor.js - www.meteorkitchen.com
Copyright (c) Petar Korponaić
<[email protected]>
Converting yaml to json using "js-yaml"...
ERROR: npm package "js-yaml" not found!
Install it with `npm install -g js-yaml`
@eadsjr thanks :+1: