Open hupato-vomatec opened 3 years ago
Got the exact same error right here 🙋♂️
Despite the fact that mine is a Vue
project
Seems to me a dependency problem
Love to use storybook
, but this webpack-toolchain
nightmare is just killing me 😩
I fixed those errors by removing all of the storybook-packages and did a npx sb init --force
. If its still not working, remove the package-lock.json
and your node-modules
-folder. Re-install everything with npm i
.
I fixed those errors by removing all of the storybook-packages and did a
npx sb init --force
. If its still not working, remove thepackage-lock.json
and yournode-modules
-folder. Re-install everything withnpm i
.
I tried it but still same error :/
same problem
Do any of you a have a reproduction repo you can share? If not, can you create one? See how to create a repro. We prioritize issues with reproductions over those without. Thank you! 🙏
I had this error today after upgrading SB using the npx sb upgrade
command so we could use React 17
Updating my webpack@4 version fixed this issue for me, I was on 4.33.0 previously and just installed the latest v4
I have this problem too. I'll see if I can replicate the error.
I replicated the error in a repo, @shilman. To see the error, clone, run npm i
, then run npm run storybook
. You should then see the error. https://github.com/sophyphreak/react-boilerplate-storybook-tapAsync-error
I fixed those errors by removing all of the storybook-packages and did a
npx sb init --force
. If its still not working, remove thepackage-lock.json
and yournode-modules
-folder. Re-install everything withnpm i
.
Same as @hupato-vomatec. After doing this, I still get the same error.
I had this error today after upgrading SB using the
npx sb upgrade
command so we could use React 17Updating my webpack@4 version fixed this issue for me, I was on 4.33.0 previously and just installed the latest v4
I upgrade my webpack to 4.46.0, then this error is fixed. thks
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 30 days. Thanks!
Same problem here... I tried @foxxycodes @sophyphreak
same problem
me too
Anyone got a solution?
Still experiencing this same issue.
Describe the bug After installing and starting storybook in my projet with
npm run storybook
I get the following error: C:*path*>npm run storybookinfo @storybook/react v6.2.9 info info => Loading presets info => Loading 1 config file in "C:*path.storybook" info => Loading 7 other files in "C:*path.storybook" info => Using prebuilt manager info => Adding stories defined in "C:*path*.storybook\main.js" info => Using implicit CSS loaders info => Using default Webpack4 setup (node:11908) DeprecationWarning: Default PostCSS plugins are deprecated. When switching to '@storybook/addon-postcss', you will need to add your own plugins, such as 'postcss-flexbugs-fixes' and 'autoprefixer'.
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-default-postcss-plugins for details. (Use:29:1)
at eval (eval at create (C:*path\node_modules\tapable\lib\HookCodeFactory.js:33:10), :47:1)
at C:*path \node_modules\@storybook\core-server\node_modules\html-webpack-plugin\index.js:303:11
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
× 「wdm」: TypeError: Cannot read property 'tapAsync' of undefined
at C:*path\node_modules\@storybook\core-server\node_modules\webpack-dev-middleware\lib\fs.js:22:37
at _next0 (eval at create (C:*path\node_modules\tapable\lib\HookCodeFactory.js:33:10), :15:1)
at eval (eval at create (C:*path\node_modules\tapable\lib\HookCodeFactory.js:33:10), :31:1)
at C:*path \node_modules\@storybook\core-server\node_modules\html-webpack-plugin\index.js:303:11
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
node --trace-deprecation ...
to show where the warning was created) 10% building modules 6/10 modules 4 active …n.storybook\generated-stories-entry.jsi 「wdm」: wait until bundle finished: 95% emitting WebpackDevMiddleware× 「wdm」: TypeError: Cannot read property 'tapAsync' of undefined at C:*path\node_modules\@storybook\core-server\node_modules\webpack-dev-middleware\lib\fs.js:22:37 at _next0 (eval at create (C:*path\node_modules\tapable\lib\HookCodeFactory.js:33:10),System System: OS: Windows 10 10.0.19042 CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz Binaries: Node: 14.15.4 - C:\Program Files\nodejs\node.EXE npm: 6.14.10 - C:\Program Files\nodejs\npm.CMD Browsers: Chrome: 91.0.4472.77 Edge: Spartan (44.19041.964.0), Chromium (91.0.864.41) npmPackages: @storybook/addon-actions: ^6.2.9 => 6.2.9 @storybook/addon-essentials: ^6.2.9 => 6.2.9 @storybook/addon-links: ^6.2.9 => 6.2.9 @storybook/builder-webpack4: ^6.3.0-beta.14 => 6.3.0-beta.14 @storybook/core-server: ^6.2.9 => 6.2.9 @storybook/react: ^6.2.9 => 6.2.9
Additional context package.json:
.storybook main.js:
Can someone please help me solve this problem? Many thanks in advance.