Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make failed #23

Open
xxleyi opened this issue Dec 4, 2020 · 0 comments
Open

make failed #23

xxleyi opened this issue Dec 4, 2020 · 0 comments

Comments

@xxleyi
Copy link

xxleyi commented Dec 4, 2020

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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant