react-styleguide-generator icon indicating copy to clipboard operation
react-styleguide-generator copied to clipboard

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

Open i-a-n opened this issue 8 years ago • 1 comments

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?

i-a-n avatar Jun 29 '16 22:06 i-a-n

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.

i-a-n avatar Jul 14 '16 19:07 i-a-n