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

1.37.0 - Module not found: Error: Cannot resolve module 'webpack-hot-middleware/client' #306

Closed
PEM-- opened this issue Jul 10, 2016 · 6 comments

Comments

@PEM--
Copy link

PEM-- commented Jul 10, 2016

Specific to 1.37.0:

ERROR in multi preview
Module not found: Error: Cannot resolve module 'webpack-hot-middleware/client' in /Users/PEM/Projects/panoply/app
 @ multi preview

ERROR in ./.storybook/config.js
Module build failed: Error: Couldn't find preset "stage-0" relative to directory  "/Users/PEM/Projects/panoply/app/.storybook"
    at /Users/PEM/Projects/panoply/app/node_modules/babel-core/lib/transformation/file/options/option-manager.js:395:17
...

Node version: v6.3.0
NPM version: 3.10.5

After reverting to react-storybook 1.36.0, everything went fine again.

@necolas
Copy link
Contributor

necolas commented Jul 10, 2016

I'm having this issue too. Many modules can't be resolved. Including 'redux', which isn't a dependency of this repo :/

@delacruz-dev
Copy link

@PEM-- I was having the same issue, thanks for reporting and saying the solution! (revert to 1.36.0).

@arunoda
Copy link
Member

arunoda commented Jul 11, 2016

I just released a new version of v1.37.1 by replacing v1.37.0.
It just contains the pre-published code of v1.36.0.

It will work on a proper fix.

@ghost
Copy link

ghost commented Jul 11, 2016

Make also sure you run NPM3.

@PEM--
Copy link
Author

PEM-- commented Jul 11, 2016

Works like a charm. Thanks 👏

@PEM-- PEM-- closed this as completed Jul 11, 2016
@arunoda
Copy link
Member

arunoda commented Jul 11, 2016

See: #305 and v1.38.0 for more info.

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

4 participants