Skip to content
This repository has been archived by the owner on Aug 10, 2018. It is now read-only.

Example failing out-of-the-box: "Using removed Babel 5 option: base.stage" #28

Open
i-a-n opened this issue Jun 29, 2016 · 1 comment
Open

Comments

@i-a-n
Copy link

i-a-n commented Jun 29, 2016

Hey there, I'm just trying to run the basic example included in the README:

git clone git@github.com:pocotan001/react-styleguide-generator.git
cd react-styleguide-generator/example/
npm install
npm start

npm start fails and I traced it all the way to rsg failing with this error message:

    "msg": "[BABEL] ~/react-styleguide-generator/example/styleguide/src/contents-inter.js: Using removed Babel 5 option: base.stage - Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets while parsing file: ~/react-styleguide-generator/example/styleguide/src/contents-inter.js",

I tried this twice on clean installs, both removing and reinstalling react via NPM. Any ideas?

@i-a-n
Copy link
Author

i-a-n commented Jul 14, 2016

For the record, I believe this is broken because the stage-0 preset is not included in the .babelrc file.

I'm not 100% sure this is the only thing broken here, and I've switched to using react-styleguide-generator-alt, which is actively maintained.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant