Addon storybook-core-core-server-presets-0 not loaded in CI build, but present in local "production" build #29728
-
We're encountering an issue with our Storybook build in the Jenkins environment. The final Interestingly, the same codebase produces a I've been trying to isolate any differences between the Jenkins build and local environments but haven't found anything conclusive. We haven't made any relevant changes that could affect this behavior. Could anyone point out potential causes or differences that might be influencing this? From what I understand, addon loading should only be controlled via the Any insights would be greatly appreciated! Additional InformationThe configuration is equivalent to the setup in this StackBlitz example. Not loading the addon breaks the portal completely because the addon in question is responsible for correctly initializing the hooks for other addons. As a result, the portal crashes with the following error:
When inspecting the (Addons 4 to 10 are custom addons developed specifically for our portal. However, including or excluding these custom addons doesn't affect the outcome—the I am currently verifying whether this issue is specific to a Storybook version, this has been observed in version Create a reproductionthis is our storybook setup but it can't be reproduced in stackblitz |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
downgrading to and out of the blue we are hit with
which finally critically fails at
I am not sure if #27005 is related or not, but it looks like something broke in the storybook UI build process and I am not even able to reproduce it in my local environment |
Beta Was this translation helpful? Give feedback.
-
This is a better reproduction of our setup, |
Beta Was this translation helpful? Give feedback.
-
We found the solution, it was a mix of how the |
Beta Was this translation helpful? Give feedback.
We found the solution, it was a mix of how the
.npmrc
flags works withpnpm
and some peculiar configuration of our CI env not correctly solving the storybook version in our build environment