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
=> Failed to build the preview
Error: Debug Failure. False expression: Paths must either both be absolute or both be relative
at getRelativePathFromDirectory (.../typescript@5.6.3/node_modules/typescript/lib/typescript.js:9019:9)
at getTsBuildInfoEmitOutputFilePath (.../.pnpm/typescript@5.6.3/node_modules/typescript/lib/typescript.js:118457:93)
It happens when I use react-docgen-typescript.
Does anyone get the same error?
Additional information
I was using react-docgen-typescript in Storybook 8.3 because there were some problem and the solution was to use that.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
I'm getting this error:
=> Failed to build the preview Error: Debug Failure. False expression: Paths must either both be absolute or both be relative at getRelativePathFromDirectory (.../typescript@5.6.3/node_modules/typescript/lib/typescript.js:9019:9) at getTsBuildInfoEmitOutputFilePath (.../.pnpm/typescript@5.6.3/node_modules/typescript/lib/typescript.js:118457:93)
It happens when I use
react-docgen-typescript
.Does anyone get the same error?
Additional information
I was using
react-docgen-typescript
in Storybook 8.3 because there were some problem and the solution was to use that.Should we switch back to the default in 8.4+?
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions