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.

[@storybook/vue] v6.1.21 and above: dynamic code snippet auto-generation is broken

See original GitHub issue

After upgrading to either the latest 6.1.x or 6.2.x version (6.1.21 & 6.2.7 respectively), the code snippets don’t get auto-magically generated based on the template:

dynamic_story_source_error

Interestingly though, if the version is pinned to 6.1.20 then the warning no longer shows up.

Reproduce

Steps to reproduce the behavior:

  1. Clone https://github.com/gomorizsolt/intro-storybook-vue-template.
  2. Install dependencies: yarn.
  3. Launch storybook: yarn storybook.
  4. Select a component, navigate to the “Docs” tab and click on “Show code” (in fact, the error will show up even if you merely select the component).

default_code_type

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
shilmancommented, Apr 12, 2021

This must have to do with the babel transpilation of prettier for IE11 @pocka … any ideas?

0reactions
pockacommented, May 15, 2021

Closing as there is nothing we can do on our side. If you encountered this issue, please upgrade babel packages (greater than or equal to 7.12.13).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue 3: Dynamic snippet rendering · Issue #13917 - GitHub
Open any component; Go to the Docs tab; Click "Show Source". Expected behavior. The presented panel should show usable Vue code. Screenshots.
Read more >
storybookjs/storybook (Raised $170.00) - Issuehunt
Running or building Storybook fails when a absolute static path is passed. Automention job issues?
Read more >
storyshot for storybook/vue broken with error Module not found
Describe the bug Massive cant resolve 'fs' came up with storyshot config after jest already configed and storybook was running correctly. To ...
Read more >
MIGRATION.md · Gitee 极速下载/storybook - Gitee.com
Storybook 是 UI 组件的开发环境,它允许开发者浏览组件库,查看每个组件的不同 ... it will replace the automatically generated entry from DocsPage (See below).
Read more >
Untitled
Disney infinity 3.0 ant man leak, Calling code for valencia spain, Kinderboerderij het ... Amex 2016 appointment book, Hy-munk, Principal auto cluj, ...
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