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

storybook fails with unmodified repo, and with meteor 1.3.2.4 #103

Open
cellog opened this issue May 3, 2016 · 5 comments
Open

storybook fails with unmodified repo, and with meteor 1.3.2.4 #103

cellog opened this issue May 3, 2016 · 5 comments

Comments

@cellog
Copy link

cellog commented May 3, 2016

ERROR in multi preview
Module not found: Error: Cannot resolve module 'webpack-hot-middleware/client' in /Users/gbeaver2/github/local/mantra-sample-blog-app
@ multi preview

ERROR in multi preview
Module not found: Error: Cannot resolve module 'babel' in /Users/gbeaver2/github/local/mantra-sample-blog-app
@ multi preview

@cellog
Copy link
Author

cellog commented May 3, 2016

after meteor npm i webpackage-hot-middleware babel:

ERROR in The node API for babel has been moved to babel-core.
@ multi preview

@cellog
Copy link
Author

cellog commented May 3, 2016

update: when using bundled npm with meteor (meteor npm) it fails, because it is version 2. I updated meteor/node to latest, and re-installed everything manually (npm i --save blahblah and npm i --save-dev blahblah) and now we're cooking.

@sascha1337
Copy link

thank you for the hint related to npm version, npm install -g npm, rm -rf node_modules, npm install did it for me, too. 👍

@MechJosh0
Copy link
Contributor

I'm unsure about the Cannot resolve module 'webpack-hot-middleware/client' error, but the Module not found was resolved with Storybook v1.22.1 -> storybookjs/storybook#167

@sascha1337
Copy link

sascha1337 commented May 9, 2016

I had this bug using Storybook v1.22.1 with fresh mantra-sample-blog-app from git, so it may not be fixed in all cases?

EDIT: My fault, i was using npm 2 and even in the README file there's a clue to use npm 3 i did not see.

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

No branches or pull requests

3 participants