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 "add component" button does not appear in the Chromatic monorepo.
Debugging a little, it is due to global.STORYBOOK_FRAMEWORK = '/absolute/path/to/node_modules/@storybook/experimental-nextjs-vite' where as the detection code expects it to be '@storybook/experimental-nextjs-vite'.
This leads to a lack of a match and the global.STORYBOOK_RENDERER variable not being set.
I expect that this is due to the use of the getAbsolutePath() helper in main.ts as this is a monorepo.
Describe the bug
The "add component" button does not appear in the Chromatic monorepo.
Debugging a little, it is due to
global.STORYBOOK_FRAMEWORK = '/absolute/path/to/node_modules/@storybook/experimental-nextjs-vite'
where as the detection code expects it to be'@storybook/experimental-nextjs-vite'
.This leads to a lack of a match and the
global.STORYBOOK_RENDERER
variable not being set.I expect that this is due to the use of the
getAbsolutePath()
helper inmain.ts
as this is a monorepo.Reproduction link
Chromatic Monorepo
Reproduction steps
No response
System
Additional context
No response
The text was updated successfully, but these errors were encountered: