Closed imposibrus closed 8 years ago
You'll have to install and use babel-cli
in your project. That has been working well for me. They simply moved the babel-node bin to a new repository. This project never explicitly tells you to use babel-node, it is for you to decide how you want to run your tests.
// "i-dont-speak-english" mode on
https://babeljs.io/blog/2015/10/31/setting-up-babel-6/
Right now
babel
package has bin filebabel-node
with deprecation warning (and justprocess.exit();
). Therefore i can't use following code in package.json:Also i can't use absolute path to globally installed
babel-node
(different environments, etc.). Temporary workaround is installbabel-cli
locally. But i think that replace dependencybabel
onbabel-core
it's necessary.// "i-dont-speak-english" mode off