Skip to content

Instantly share code, notes, and snippets.

@eventualbuddha
Created July 16, 2013 17:45
Show Gist options
  • Save eventualbuddha/6010945 to your computer and use it in GitHub Desktop.
Save eventualbuddha/6010945 to your computer and use it in GitHub Desktop.
es6ify bug: "Invalid access to private name"

Invalid access to private name

This project is intended to reproduce a bug in which loading es6ify and then loading a file built using es6ify+browserify causes an exception in node.js. When run with grunt the output is shown below:

Running "browserify:dist" (browserify) task
>> Bundled tmp/math.es5.js

Running "concat:dist" (concat) task
File "dist/math.js" created.

Running "require-math" task
Warning: Invalid access to private name Use --force to continue.

Aborted due to warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment