There seems to be something off with @cura/hooks within Storybook. It might come from the Webpack config of Storybook. I temporarily ignored the stories with components that use hooks.
I could reproduce the error locally after cleaning /node_modules, but it seems to work out locally "sometimes", for example, if I tried to build after adding hooks with yalc and then removed it; that worked.
More details in the CI build.