podio / requirejs-react-jsx

A RequireJS plugin for loading jsx in development and compiling (with r.js). Supports bundling and 1:1 source maps in development and production.
MIT License
104 stars 19 forks source link

Babel 6.0 does not create node package "babel"; package is not found #20

Open bowlwinkle opened 8 years ago

bowlwinkle commented 8 years ago

Babel has broken out functionality.

jsx.js line 21 failes to find "babel" when using latest Babel package (installing babel-cli instead of babel)

For latest Babel, should be 'babel-core'

Just something I ran into and thought I would let you know.
Ignore if you want

Thanks for the plugin!

ironsweet commented 8 years ago

I'm having similar problem. And finally I realized that I should have babel support for my node. I don't think the doc should assume that everyone understands node and babel.

ironsweet commented 8 years ago

The solution is to install babel 5.8.34. It solves my problem.

npm install --save-dev babel@5.8.34