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

[Bug]: Cannot read properties of null (reading 'useContext') #27526

Closed
rizwanahmed-tr opened this issue Jun 3, 2024 · 3 comments
Closed

[Bug]: Cannot read properties of null (reading 'useContext') #27526

rizwanahmed-tr opened this issue Jun 3, 2024 · 3 comments

Comments

@rizwanahmed-tr
Copy link

Describe the bug

I have encountered this when i have tried to use autodocs after migrating to storybook v8
sb error

Reproduction link

https://bed4-103-170-179-30.ngrok-free.app

Reproduction steps

Go to any component and click on docs above error will appear

System

Storybook Environment Info:

  System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i7-1265U
  Binaries:
    Node: 18.15.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\OneDrive\Desktop\workspace\everest\node_modules\.bin\yarn.CMD <----- active
    npm: 9.5.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (124.0.2478.67)
  npmPackages:
    @storybook/addon-a11y: ^8.1.5 => 8.1.5
    @storybook/addon-actions: ^8.1.5 => 8.1.5
    @storybook/addon-console: ^3.0.0 => 3.0.0
    @storybook/addon-essentials: ^8.1.5 => 8.1.5
    @storybook/addon-knobs: ^8.0.0 => 8.0.0
    @storybook/addon-webpack5-compiler-babel: 3.0.3 => 3.0.3
    @storybook/react: ^8.1.5 => 8.1.5
    @storybook/react-webpack5: ^8.1.5 => 8.1.5
    react-storybook-addon-backgrounds: ^0.0.7 => 0.0.7
    storybook: ^8.1.5 => 8.1.5
    storybook-addon-jsx: ^7.3.14 => 7.3.14
    storybook-addon-outline: ^1.4.2 => 1.4.2
    storybook-addon-remix-react-router: ^3.0.0 => 3.0.0

Additional context

No response

@vanessayuenn
Copy link
Contributor

@rizwanahmed-tr the repro you provided doesn't seem to work. Can you please create another one via storybook.new? Thank you! 🙏

Copy link
Contributor

Hi there! Thank you for opening this issue, but it has been marked as stale because we need more information to move forward. Could you please provide us with the requested reproduction or additional information that could help us better understand the problem? We'd love to resolve this issue, but we can't do it without your help!

@github-actions github-actions bot added the Stale label Jul 16, 2024
Copy link
Contributor

I'm afraid we need to close this issue for now, since we can't take any action without the requested reproduction or additional information. But please don't hesitate to open a new issue if the problem persists – we're always happy to help. Thanks so much for your understanding.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants