macabeus/js-proposal-algebraic-effects

make failed

Opened this issue · 0 comments

make bootstrap failed on my computer, node9 and 12 both failed

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
[08:48:22] Compiling 'packages/babel-types/src/asserts/generated/index.js'...
[08:48:22] Compiling 'packages/babel-types/src/builders/generated/index.js'...
[08:48:23] Compiling 'packages/babel-types/src/constants/generated/index.js'...
[08:48:23] Compiling 'packages/babel-types/src/validators/generated/index.js'...
[08:48:24] Finished 'build-babel' after 9.47 s
[08:48:24] Finished 'build' after 9.48 s
/Library/Developer/CommandLineTools/usr/bin/make build-typings
yarn --silent node packages/babel-types/scripts/generators/flow.js > packages/babel-types/lib/index.js.flow
yarn --silent node packages/babel-types/scripts/generators/typescript.js > packages/babel-types/lib/index.d.ts
/Library/Developer/CommandLineTools/usr/bin/make build-dist
cd packages/babel-polyfill; \
	scripts/build-dist.sh
+ BROWSERIFY_CMD=../../node_modules/browserify/bin/cmd.js
+ UGLIFY_CMD=../../node_modules/uglify-js/bin/uglifyjs
+ mkdir -p dist
+ node ../../node_modules/browserify/bin/cmd.js lib/index.js --insert-global-vars global --plugin bundle-collapser/plugin --plugin derequire/plugin
+ node ../../node_modules/uglify-js/bin/uglifyjs dist/polyfill.js --compress keep_fnames,keep_fargs --mangle keep_fnames
cd packages/babel-plugin-transform-runtime; \
	yarn --silent node scripts/build-dist.js
/Users/xm/Documents/nongfu/js-proposal-algebraic-effects/babel/packages/babel-template/lib/parse.js:169
    throw err;

SyntaxError: Unexpected keyword 'resume' (26:13)
  24 |     }
  25 | 
> 26 |     function resume(key, arg) {
     |             ^
  27 |       try {
  28 |         var result = gen[key](arg)
  29 |         var value = result.value;