question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[6.0.0-alpha.33-36] cannot read property 'fromId' of undefined in docs page

See original GitHub issue

Describe the bug Navigating to docs page in Storybook 6.0.0-alpha.33-36 (32 works normally) shows a screen with Cannot read property 'fromId' of undefined error. Many additional errors are show in the console.

VM106 vendors~main.5453e29e3974fa7fe208.bundle.js:58602 Uncaught TypeError: Cannot read property 'subcomponents' of undefined

VM106 vendors~main.5453e29e3974fa7fe208.bundle.js:58880 Uncaught TypeError: Cannot read property 'fromId' of undefined

VM106 vendors~main.5453e29e3974fa7fe208.bundle.js:384927 The above error occurred in the <Context.Consumer> component

Additional context Docs use MDX combined with CSF and those errors happen only in docs view (story renders normally)

To Reproduce Navigate to docs page.

Expected behavior Should show docs normally.

Screenshots Screen Shot 2020-04-16 at 19 29 03

Screen Shot 2020-04-16 at 19 31 01

System:

  System:
    OS: macOS 10.15.4
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
  Binaries:
    Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.13.4 - ~/.nvm/versions/node/v12.16.1/bin/npm
  Browsers:
    Chrome: 80.0.3987.163
    Firefox: 75.0
    Safari: 13.1
  npmPackages:
    @storybook/addon-actions: v6.0.0-alpha.36 => 6.0.0-alpha.36 
    @storybook/addon-docs: v6.0.0-alpha.36 => 6.0.0-alpha.36 
    @storybook/addon-info: 5.3.12 => 5.3.12 
    @storybook/addon-knobs: v6.0.0-alpha.36 => 6.0.0-alpha.36 
    @storybook/addon-links: v6.0.0-alpha.36 => 6.0.0-alpha.36 
    @storybook/addon-notes: ^5.3.12 => 5.3.18 
    @storybook/addon-storysource: v6.0.0-alpha.36 => 6.0.0-alpha.36 
    @storybook/addon-viewport: v6.0.0-alpha.36 => 6.0.0-alpha.36 
    @storybook/addons: v6.0.0-alpha.36 => 6.0.0-alpha.36 
    @storybook/react: v6.0.0-alpha.36 => 6.0.0-alpha.36 
    @storybook/source-loader: v6.0.0-alpha.36 => 6.0.0-alpha.36 

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
shilmancommented, Jun 17, 2021

@lmestel please file on the builer-vite repo

0reactions
timbomckaycommented, Sep 27, 2021

I did just upgrade node from v10 to v14. Think that would have something to do with it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read property 'source' of undefined (line 30, file ...
TypeError: Cannot read property 'source' of undefined (line 30, file "Code"). I get this error code when trying to run the script.
Read more >
TypeError: Cannot read property 'source' of undefined ...
If you run it on the editor, no value was passed down on the event variable, which causes the property 'source' of undefined....
Read more >
Requests | Google Docs
Inserts a page break at the specified location. ... For example, to update the paragraph style's alignment property, set fields to "alignment" ....
Read more >
Handling the processing response | Document AI
text: "Sample Document\nHeading 1\nLorem ipsum dolor sit amet, ..." } Each page in the document object corresponds to a physical page from the ......
Read more >
Google Docs integration v2 not working in Chrome
I tried the beta connector, but I get the following error if I try to ... "TypeError: Cannot read properties of undefined (reading...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found