https://laurentcazanove.com/articles/storybook-nuxt-guide/
위 정보를 따라 nuxt3기반 storybook을 셋팅하고 있었다,,
ERR! Error: No configuration files have been found in your configDir (C:\Users\admin\Desktop\ysh\[Vue]\nuxt3-study\.storybook).
ERR! 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).
ERR! at validateConfigurationFiles (C:\Users\admin\Desktop\ysh\[Vue]\nuxt3-study\node_modules\@storybook\core-common\dist\index.js:9:30)
ERR! at async loadMainConfig (C:\Users\admin\Desktop\ysh\[Vue]\nuxt3-study\node_modules\@storybook\core-common\dist\index.js:19:6599)
ERR! at async buildDevStandalone (C:\Users\admin\Desktop\ysh\[Vue]\nuxt3-study\node_modules\@storybook\core-server\dist\index.js:48:1296)
ERR! at async withTelemetry (C:\Users\admin\Desktop\ysh\[Vue]\nuxt3-study\node_modules\@storybook\core-server\dist\index.js:35:3422)
ERR! at async dev (C:\Users\admin\Desktop\ysh\[Vue]\nuxt3-study\node_modules\@storybook\cli\dist\generate.js:421:400)
ERR! at async Command.<anonymous> (C:\Users\admin\Desktop\ysh\[Vue]\nuxt3-study\node_modules\@storybook\cli\dist\generate.js:423:225)
ERR! Error: No configuration files have been found in your configDir (C:\Users\admin\Desktop\ysh\[Vue]\nuxt3-study\.storybook).
ERR! 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).
ERR! at validateConfigurationFiles (C:\Users\admin\Desktop\ysh\[Vue]\nuxt3-study\node_modules\@storybook\core-common\dist\index.js:9:30)
ERR! at async loadMainConfig (C:\Users\admin\Desktop\ysh\[Vue]\nuxt3-study\node_modules\@storybook\core-common\dist\index.js:19:6599)
ERR! at async buildDevStandalone (C:\Users\admin\Desktop\ysh\[Vue]\nuxt3-study\node_modules\@storybook\core-server\dist\index.js:48:1296)
ERR! at async withTelemetry (C:\Users\admin\Desktop\ysh\[Vue]\nuxt3-study\node_modules\@storybook\core-server\dist\index.js:35:3422)
ERR! at async dev (C:\Users\admin\Desktop\ysh\[Vue]\nuxt3-study\node_modules\@storybook\cli\dist\generate.js:421:400)
ERR! at async Command.<anonymous> (C:\Users\admin\Desktop\ysh\[Vue]\nuxt3-study\node_modules\@storybook\cli\dist\generate.js:423:225)
WARN Broken build, fix the error above.
WARN You may need to refresh the browser.
???
아니 난 순서대로 잘 하고 있었는데 왜 오류가 나지
심지어 다른 분들 다 잘되고 나만 안되는 중
뭔데 진짜 ㅠ
main.js 파일 필요하다는데 난 있다고!!
하루꼬박 삽질하고 챗봇한테도 물어봤지만 무용지물
그러다 하나의 이슈글을 보게된다
https://github.com/storybookjs/storybook/issues/17751
어라 나랑 똑같잖아
정독중 ..
엥
어라
두둥
싸한 느낌과 함께 폴더명을 바꿔주었다
[Vue]/nuxt3-study => Vue/nuxt3-study
잘 된다!
이제 절대 폴더명 어디든지 기호를 넣지 않을거다!
감사합니다