carteb / carte-blanche

An isolated development space with integrated fuzz testing for your components. See them individually, explore them in different states and quickly and confidently develop them.
https://www.youtube.com/watch?v=6g3-TQ6aaw8
MIT License
1.5k stars 47 forks source link

Remove no-op babel package from package.json #387

Closed joshblack closed 8 years ago

joshblack commented 8 years ago

Was checking out the project and was trying to get the examples to run when I ran into this problem:

npm install

# ... some time later

> carte-blanche-react-plugin@0.3.0 build:backend /projects/carte-blanche/plugins/react
> cross-env BABEL_DISABLE_CACHE=1 BABEL_ENV=production babel --out-dir=dist plugin.js resolver.js server/server.js server/run.js server/utils/getAbsoluteVariationPath.js

You have mistakenly installed the `babel` package, which is a no-op in Babel 6.
Babel's CLI commands have been moved from the `babel` package to the `babel-cli` package.

    npm uninstall babel
    npm install babel-cli

See http://babeljs.io/docs/usage/cli/ for setup instructions.

This change simply removes the babel package which is a no-op in Babel 6. Removing it makes the npm install process not error out anymore.

If this package is still needed, feel free to close the PR! Just figured I'd help fix one of the issues I ran into while trying to get up and running with the project.

mxstbr commented 8 years ago

Thanks @joshblack!