npm run bundle fails
This morning, npm run test
looks great. But npm run bundle
fails like this:
RapidMix:RAPID-MIX_API_JS mzed$ npm run bundle
> rapid-mix-js@0.1.0 bundle /Users/mzed/RAPID-MIX_API_JS
> node bin/runner --bundle
/Users/mzed/RAPID-MIX_API_JS/bin/runner:55
.then(([src, dist]) => {
^
SyntaxError: Unexpected token [
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:413:25)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:475:10)
at startup (node.js:117:18)
at node.js:951:3
npm ERR! Darwin 16.7.0
npm ERR! argv "/Users/mzed/emsdk_portable/node/4.1.1_64bit/bin/node" "/Users/mzed/emsdk_portable/node/4.1.1_64bit/bin/npm" "run" "bundle"
npm ERR! node v4.1.1
npm ERR! npm v2.14.4
npm ERR! code ELIFECYCLE
npm ERR! rapid-mix-js@0.1.0 bundle: `node bin/runner --bundle`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the rapid-mix-js@0.1.0 bundle script 'node bin/runner --bundle'.
npm ERR! This is most likely a problem with the rapid-mix-js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node bin/runner --bundle
npm ERR! You can get their info via:
npm ERR! npm owner ls rapid-mix-js
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/mzed/RAPID-MIX_API_JS/npm-debug.log