Turbo repo React component library Storybook problem

I am doing OSS component library on turbo repo (https://github.com/loiste-ui/loiste-ui), having some problems to install storybook to my UI packet (https://github.com/loiste-ui/loiste-ui/tree/master/packages/loiste-ui). Feel free to contribute (install storybook to UI package for now) or help here! 🙂 What I have tried:
cd packages/loiste-ui
OR
cd apps/docs
pnpx sb@next init
cd packages/loiste-ui
OR
cd apps/docs
pnpx sb@next init
Accepted all of those on picture (Image 1). After installation it says:
To run your Storybook, type: pnpm run storybook
To run your Storybook, type: pnpm run storybook
That gives me wall of errors, for example and crash
Failed to load preset: "C:\\Users\\XXXX\\projektit\\omat\\loiste-ui\\node_modules\\@storybook\\builder-webpack5\\dist\\presets\\preview-preset.js"
Failed to load preset: "C:\\Users\\XXXX\\projektit\\omat\\loiste-ui\\node_modules\\@storybook\\builder-webpack5\\dist\\presets\\preview-preset.js"
https://media.discordapp.net/attachments/663478877355507784/1084856456681103430/image.png?width=842&height=162
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server