react-styleguide-generator
react-styleguide-generator copied to clipboard
Example failing out-of-the-box: "Using removed Babel 5 option: base.stage"
Hey there, I'm just trying to run the basic example included in the README:
git clone [email protected]: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?
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.