-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Describe the bug
Error: No configuration files have been found in your configDir (./.storybook).
Storybook needs "main.js" file, please add it (or pass a custom config dir flag to Storybook to tell where your main.js file is located at).
at validateConfigurationFiles (./node_modules/@storybook/core-common/dist/index.js:9:30)
at async loadMainConfig (./node_modules/@storybook/core-common/dist/index.js:19:6698)
at async buildDevStandalone (./node_modules/@storybook/core-server/dist/index.js:116:1244)
at async withTelemetry (./node_modules/@storybook/core-server/dist/index.js:101:4155)
at async dev (./node_modules/@storybook/cli/dist/generate.js:473:401)
at async Command.<anonymous> (./node_modules/@storybook/cli/dist/generate.js:475:225)
WARN Broken build, fix the error above.
WARN You may need to refresh the browser.
/Users/user1/Documents/web-development/ultraviolet/HiveCommand/node_modules/@storybook/cli/bin/index.js:23
throw error;
^
Error: No configuration files have been found in your configDir (/Users/YahyaPro/Documents/web-development/ultraviolet/HiveCommand/.storybook).
Storybook needs "main.js" file, please add it (or pass a custom config dir flag to Storybook to tell where your main.js file is located at).
at validateConfigurationFiles (/Users/YahyaPro/Documents/web-development/ultraviolet/HiveCommand/node_modules/@storybook/core-common/dist/index.js:9:30)
Node.js v18.17.1
To Reproduce
Steps to reproduce the behavior:
- yarn to install all the packages
- yarn storybook
Expected behavior
to run storybook
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels