Coder Social home page Coder Social logo

Does not use .babelrc about storybook HOT 7 CLOSED

storybookjs avatar storybookjs commented on April 26, 2024
Does not use .babelrc

from storybook.

Comments (7)

gajus avatar gajus commented on April 26, 2024

Hm. Interestingly, if I change .babelrc to:

{
    "presets": [
        "does-not-exist"
    ]
}

I am getting:

ERROR in ./.storybook/config.js
Module build failed: Error: Couldn't find preset "does-not-exist" relative to directory "/Users/gajus/Documents/dev/gajus/react-youtube-player"

from storybook.

gajus avatar gajus commented on April 26, 2024

Relevant versions:

➜  react-youtube-player git:(master) ✗ node -v
v5.10.0
➜  react-youtube-player git:(master) ✗ npm -v
3.8.3

from storybook.

arunoda avatar arunoda commented on April 26, 2024

Could you send me your versions of:

  • webpack-hot-middleware
  • webpack-dev-middleware

This is the project right? Where's the .babelrc file?

from storybook.

gajus avatar gajus commented on April 26, 2024

Sorry, .babelrc is in the main directory. I did not notice that tree program excluded it from the ascii tree.

There is no local version of webpack-hot-middleware or webpack-dev-middleware.

While https://github.com/gajus/react-youtube-player is the project, I have not pushed the code using ./src setup upstream.

I have created an issue that replicates the issue, https://github.com/gajus/react-youtube-player/tree/storybook.

To replicate:

git clone [email protected]:gajus/react-youtube-player.git
git checkout storybook
npm install
npm demo

from storybook.

arunoda avatar arunoda commented on April 26, 2024

Got it. Will check that.

from storybook.

arunoda avatar arunoda commented on April 26, 2024

I think I got the issue and will work on a fix.

from storybook.

arunoda avatar arunoda commented on April 26, 2024

Check the version 1.3.0

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.