Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Windows - No configuration files have been found in your configDir after updating to 7.1.0 #24040

Closed
mrginglymus opened this issue Sep 1, 2023 · 1 comment

Comments

@mrginglymus
Copy link

Describe the bug

On windows, on storybook 7.0.27, everything works fine.

After upgrading to 7.1.0, we appear to have regressed on #20928 and storybook fails on windows. It seems likely that this is related to glob being updated to 10 in #22171 that was first released in 7.1.0

> yarn storybook build
@storybook/cli v7.1.0

info => Cleaning outputDir: \storybook-static
ERR! Error: No configuration files have been found in your configDir (C:\Users\bill.collins\git\project\.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).

To Reproduce

No response

System

Environment Info:

  System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Xeon(R) Gold 5220 CPU @ 2.20GHz
  Binaries:
    Node: 16.20.0 - C:\Users\BILL~1.COL\AppData\Local\Temp\xfs-6b74644b\node.CMD
    Yarn: 3.2.1 - C:\Users\BILL~1.COL\AppData\Local\Temp\xfs-6b74644b\yarn.CMD
    npm: 8.19.4 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (116.0.1938.62)
  npmPackages:
    @storybook/addon-a11y: 7.1.0 => 7.1.0
    @storybook/addon-essentials: 7.1.0 => 7.1.0
    @storybook/addon-storyshots: 7.1.0 => 7.1.0
    @storybook/addon-storysource: 7.1.0 => 7.1.0
    @storybook/addons: 7.1.0 => 7.1.0
    @storybook/react: 7.1.0 => 7.1.0
    @storybook/theming: 7.1.0 => 7.1.0

Additional context

No response

@mrginglymus
Copy link
Author

Apologies, I found a misconfigured resolution that was breaking glob.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

1 participant