This repository was archived by the owner on Aug 11, 2019. It is now read-only.

Description
Over a couple of hurdles but fell at the end.
node -v
v8.9.1
npm install cross-env --save-dev
npm install rimraf --save-dev
updated package.json scripts section:
"scripts": {
"build:all": "rimraf dist && mkdir -p dist server/manifests && npm run build:server && npm run build:client && npm run build:sw",
"build:server": "node build",
"build:client": "rimraf client/dist && rollup -c client/rollup.config.js",
"build:sw": "rollup -c service-worker/rollup.config.js",
"deploy": "npm run build:all && now && now alias",
"dev:client": "rimraf client/dist && export DEV=true && rollup -c client/rollup.config.js -w",
"dev:sw": "cross-env DEV=true && rollup -c service-worker/rollup.config.js -w",
"dev": "cross-env DEV=true && npm run build:server && npm run dev:client & npm run dev:sw & cross-env DEV=true && node server",
"start": "node server",
"lint": "eslint client && eslint server"
},
Fails on this:
> svelte-hackernews@1.0.0 build:server C:\Apps\Testarea\svelte\_hackernews
> node build
(node:5492) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejec
tion id: 1): TypeError: ast.body is not iterable