Coder Social home page Coder Social logo

Comments (3)

saura8668 avatar saura8668 commented on May 2, 2024

Hi @Rajesh-Poojari-Dmart can you assign me this issue?

from storybook.

valentinpalkovic avatar valentinpalkovic commented on May 2, 2024

Hi @Rajesh-Poojari-Dmart

Thank you for opening the issue.

The issue is very likely coupled to the fact, that you don't have a compiler addon installed, which is required by webpack5-based projects in Storybook 8.

What's strange for me is that you don't have @storybook/addon-webpack5-compiler-babel or @storybook/addon-webpack5-compiler-swc installed. When using npx storybook@lastest upgrade the upgrade step should automatically install one of the packages for you.

For more information, please follow the migration guide:
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#removed-babelcore-and-babel-loader-from-storybookbuilder-webpack5

from storybook.

Rajesh-Poojari-Dmart avatar Rajesh-Poojari-Dmart commented on May 2, 2024

@valentinpalkovic Thank you so much I followed the instruction from the migration link shared by you and used the following command

npx storybook@latest add @storybook/addon-webpack5-compiler-babel

Now its working fine.

But I had used the following command and it was successful and it didn't gave me any warning at that time

npx storybook@lastest upgrade

from storybook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.