Closed karma0 closed 8 years ago
You need to preset babel to es2015. check here for several methods to do this. For the above example you can use
babel-node --presets es2015 boilerplate.js
Worked. Just needed to install the babel-preset-es2015
npm module, then it executed exactly as you suggested. Seems I need to do a bit of reading. Thanks!
When attempting to get past the first step in walking through the API documentation using ripple-lib, I receive the following error when attempting
babel-node boilerplate.js
:It appears as though babel and/or node are clueless about how to handle this line:
But, then, maybe I'm missing something here.
Node version: v5.6.0 Babel version: 6.6.5 (babel-core 6.7.2)