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
The issue resolves when @opentelemetry/api is installed manually, but since everything else works fine without it, I assume the issue should be fixed on the Storybook side.
The text was updated successfully, but these errors were encountered:
For those affected by this and until @valentinpalkovic's PR is merged, adding the following to the main.ts config seems to achieve the same result (thanks Valentin :) ):
Describe the bug
The following error occurs right after
npm run storybook
:It seems like importing anything from
next/cache
in stories import chain cause this error.To Reproduce
npx storybook@latest init
import { revalidatePath } from "next/cache";
tostories/Header.jsx
(or any other generated file)npm run storybook
System
Additional context
The issue resolves when
@opentelemetry/api
is installed manually, but since everything else works fine without it, I assume the issue should be fixed on the Storybook side.The text was updated successfully, but these errors were encountered: