danielgtaylor / nesh

An enhanced, extensible interactive shell for Node.js and CoffeeScript
http://danielgtaylor.github.io/nesh/
MIT License
288 stars 27 forks source link

Upgrade to babel 6 #43

Open sibelius opened 8 years ago

holyjak commented 7 years ago

I wonder, is it difficult to upgrade from babel 5.x to 6? Currently, I cannot use nesh because of that.

Our project uses Babel 6 and when I try to use nesh -b in the project and try to require something, it fails with a mysterious Babel error:

TypeError: Cannot read property 'error' of undefined at OptionManager.mergeOptions (/Users/me/.nvm/versions/node/v6.10.0/lib/node_modules/nesh/node_modules/babel-core/lib/transformation/file/options/option-manager.js:126:28)