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 is crashing with npm install #11

Open
ericledonge opened this issue Sep 22, 2023 · 0 comments
Open

Storybook is crashing with npm install #11

ericledonge opened this issue Sep 22, 2023 · 0 comments

Comments

@ericledonge
Copy link

ericledonge commented Sep 22, 2023

With npm 9.8.1 and node v18.18.0 (but same thing with npm 10.1.0 and node v20.7.0)

I can open Storybook (with Mac / Chrome) but as soon as I click somewhere in the page, it becomes unresponsive and crash.

chunk-NBCGHFLK.js:2 

Warning: Maximum update depth exceeded. 

This can happen when a component calls setState inside useEffect, 
but useEffect either doesn't have a dependency array, 
or one of the dependencies changes on every render.

    in Unknown (created by Downshift2)
    in div
    in Unknown (created by Downshift2)
    in div (created by Styled(div))
    in Styled(div) (created by Downshift2)
    in Downshift2
    in Unknown
    in div (created by Styled(div))
    in Styled(div) (created by Spaced)
    in Spaced (created by Styled(Spaced))
    in Styled(Spaced)
    in div (created by ForwardRef(F2))
    in div (created by ForwardRef(F2))
    in ForwardRef(F2) (created by Scroller)
    in Suspense (created by Scroller)
    in Scroller (created by Styled(Scroller))
    in Styled(Scroller)
    in nav (created by Styled(nav))
    in Styled(nav)
    in Unknown
    in Unknown (created by ManagerConsumer)
    in ManagerConsumer
    in Unknown (created by Layout)
    in div (created by Styled(div))
    in Styled(div) (created by Sidebar)
    in Sidebar (created by Layout)
    in Layout (created by WithTheme(Layout))
    in WithTheme(Layout)
    in Unknown (created by App)
    in div (created by Styled(div))
    in Styled(div) (created by App)
    in App
    in ThemeProvider
    in Unknown (created by ManagerConsumer)
    in ManagerConsumer (created by Manager)
    in EffectOnMount (created by Manager)
    in Manager (created by QueryLocation)
    in QueryLocation (created by Main2)
    in Main2 (created by Root4)
    in Router (created by LocationProvider)
    in LocationProvider (created by Root4)
    in HelmetProvider (created by Root4)
    in Root4
@ericledonge ericledonge changed the title Storybook is crashing Storybook is crashing with npm install Sep 23, 2023
irevdev pushed a commit to rvise-au/rvise-ui-library that referenced this issue Mar 27, 2024
irevdev pushed a commit to rvise-au/rvise-ui-library that referenced this issue Mar 27, 2024
Reduce text size on small devices on faqs page
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

1 participant