Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

working with generate react component #970

Closed
maxlibin opened this issue Apr 28, 2017 · 7 comments
Closed

working with generate react component #970

maxlibin opened this issue Apr 28, 2017 · 7 comments

Comments

@maxlibin
Copy link

maxlibin commented Apr 28, 2017

installing storybook in https://github.com/JedWatson/generator-react-component gets an error:

ERROR in ./.storybook/config.js
Module build failed: ReferenceError: [BABEL] /Users/max/workspace/react-component/packages/style-react-component/.storybook/config.js: Unknown option: direct.presets
    at Logger.error (/Users/max/workspace/react-component/packages/style-react-component/node_modules/babel-core/lib/transformation/file/logger.js:58:11)
    at OptionManager.mergeOptions (/Users/max/workspace/react-component/packages/style-react-component/node_modules/babel-core/lib/transformation/file/options/option-manager.js:126:29)
    at OptionManager.init (/Users/max/workspace/react-component/packages/style-react-component/node_modules/babel-core/lib/transformation/file/options/option-manager.js:216:10)
    at File.initOptions (/Users/max/workspace/react-component/packages/style-react-component/node_modules/babel-core/lib/transformation/file/index.js:147:75)
    at new File (/Users/max/workspace/react-component/packages/style-react-component/node_modules/babel-core/lib/transformation/file/index.js:137:22)
    at Pipeline.transform (/Users/max/workspace/react-component/packages/style-react-component/node_modules/babel-core/lib/transformation/pipeline.js:164:16)
    at transpile (/Users/max/workspace/react-component/packages/style-react-component/node_modules/babel-loader/lib/index.js:46:20)
    at /Users/max/workspace/react-component/packages/style-react-component/node_modules/babel-loader/lib/fs-cache.js:79:18
    at ReadFileContext.callback (/Users/max/workspace/react-component/packages/style-react-component/node_modules/babel-loader/lib/fs-cache.js:15:14)
    at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:365:13)
 @ multi preview

anyway to work with this package?

@mskec
Copy link

mskec commented Apr 28, 2017

I have the same problem. I think the problem is in this library which was updated yesterday.
xzyfer/sass-graph#77

@xzyfer
Copy link

xzyfer commented Apr 28, 2017

Apologies for the break. We've unpublished the broken version.

@shilman
Copy link
Member

shilman commented May 1, 2017

@maxlibin @mskec does this work with the updated version mentioned above?

@mskec
Copy link

mskec commented May 1, 2017

@shilman I didn't get this error while using storybook. I got here by googling error message :)
Since broken version was unpublished, I am no longer getting this error in my project. I guess storybook should also work, maybe @maxlibin can confirm.

@maxlibin
Copy link
Author

maxlibin commented May 2, 2017

uninstall and reinstall storybook in this package, still not working,

@stale
Copy link

stale bot commented Dec 15, 2017

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 60 days. Thanks!

@stale stale bot added the inactive label Dec 15, 2017
@stale
Copy link

stale bot commented Dec 30, 2017

Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!

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

No branches or pull requests

5 participants