You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First I want to point out that you're using an intentionally undocumented feature. Nevertheless, let's see what we can do. I suspect what's going on here is that there are two versions of React. @ndelangen can you comment here?
Describe the bug
When using ExternalDocs from @storybook/blocks, it throws different errors depending on the environment:
In Next.js → Fails with:
Error reading preview.js
In a React + Vite setup → Fails with:
document is not defined
Current Setup:
Previously Working Setup:
Reproduction link
https://codesandbox.io/p/github/zinchenkoivan/repro-bug-next/main?embed=1
Reproduction steps
System
Additional context
Repository for reproduction (if needed): GitHub Repo.
The text was updated successfully, but these errors were encountered: