You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.
create an empty content file touch contents/index.json and a template curl t.co > templates/index.mustache
serve punch s
What I expect to happen:
An error message warning of the empty index.json file
What I get instead:
Server is running on localhost:9009
Generating the site...
undefined:0
^
SyntaxError: Unexpected end of input
at Object.parse (native)
at /usr/local/lib/node_modules/punch/lib/generator.js:130:26
at [object Object].<anonymous> (fs.js:123:5)
at [object Object].emit (events.js:64:17)
at Object.oncomplete (fs.js:1190:12)
The text was updated successfully, but these errors were encountered:
To reproduce:
punch setup .
touch contents/index.json
and a templatecurl t.co > templates/index.mustache
punch s
What I expect to happen:
An error message warning of the empty index.json file
What I get instead:
The text was updated successfully, but these errors were encountered: