Untitled

 avatar
unknown
plain_text
2 years ago
2.7 kB
3
Indexable
*[master][~/development/bitbucket/persono-newsletter]$ yarn watch newsletter-31
yarn run v1.22.19
$ sh ./scripts/watch.sh newsletter-31
$ npm-watch build
[build] [nodemon] 2.0.6
[build] [nodemon] starting `npm run -s build`
[build] [build] ⣽[build][build] > Building folder src/newsletter-31...
> Generating handlebars template from mjml...
[build] [build] [build] [build] [build] [build] ⣷[build][build] [build] [build] [build] [build] 
Command line error:
[build] No input files found
[build] error Command failed with exit code 1.
[build] > Handlebars template generated
> Converting src/newsletter-31/data.yml to JSON...
[build] [build] [build] [build] [build] (node:49734) Warning: Accessing non-existent property 'producer' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
[build] yaml: error reading from src/newsletter-31/data.yml
[build] [build] error Command failed with exit code 255.
[build] > Data converted to src/newsletter-31/data.json
> Compiling handlebars template to HTML...
[build] [build] [build] [build] [build] SyntaxError: Unexpected token i in JSON at position 0
    at JSON.parse (<anonymous>)
    at registerPartial$ (/Users/ammo/development/bitbucket/persono-newsletter/node_modules/hbs-cli/lib/index.js:85:209)
    at tryCatch (/Users/ammo/development/bitbucket/persono-newsletter/node_modules/hbs-cli/node_modules/babel-runtime/regenerator/runtime.js:72:40)
    at Generator.invoke [as _invoke] (/Users/ammo/development/bitbucket/persono-newsletter/node_modules/hbs-cli/node_modules/babel-runtime/regenerator/runtime.js:334:22)
    at Generator.prototype.<computed> [as next] (/Users/ammo/development/bitbucket/persono-newsletter/node_modules/hbs-cli/node_modules/babel-runtime/regenerator/runtime.js:105:21)
    at tryCatch (/Users/ammo/development/bitbucket/persono-newsletter/node_modules/hbs-cli/node_modules/babel-runtime/regenerator/runtime.js:72:40)
    at invoke (/Users/ammo/development/bitbucket/persono-newsletter/node_modules/hbs-cli/node_modules/babel-runtime/regenerator/runtime.js:146:20)
    at /Users/ammo/development/bitbucket/persono-newsletter/node_modules/hbs-cli/node_modules/babel-runtime/regenerator/runtime.js:154:13
[build] error Command failed with exit code 1.
[build] > Template compiled
> Removing handlebars and JSON files...
[build] rm: src/newsletter-31/index.hbs: No such file or directory
[build] > Handlebars and JSON files removed
> Minifying HTML...
[build] [build] [build] [build] [build] > HTML minified
> Created files:
    newsletter-31/index.html
    newsletter-31/minified.html
[build] [build] [build] [nodemon] clean exit - waiting for changes before restart
Editor is loading...