storybookjs/storybook

[Bug]: No stories found when Storybook is running in iCloud/OneDrive storage

Open

#24,339 创建于 2023年10月2日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)TypeScript (89,909 star) (10,058 fork)batch import
bugcompatibility with other toolshas workaroundhelp wantedsev:S3

描述

Describe the bug

When I have a project using storybook that is inside of iCloud storage, then the project will start with a message that no stories have been found for a given pattern. If I write to a story file while storybook is running, storybook will successfully pick up the story display it in the sidenav.

To Reproduce

  • Create a folder in iCloud
  • Run Create Next App with default options (though I have found this to be an issue with vite as well)
  • Run npx storybook@latest init
  • Run storybook

System

Environment Info:

  System:
    OS: macOS 13.5.2
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  Binaries:
    Node: 20.6.1 - /usr/local/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 9.8.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 117.0.5938.92
    Edge: 117.0.2045.47
    Safari: 16.6
  npmPackages:
    @storybook/addon-essentials: ^7.4.5 => 7.4.5
    @storybook/addon-interactions: ^7.4.5 => 7.4.5
    @storybook/addon-links: ^7.4.5 => 7.4.5
    @storybook/addon-onboarding: ^1.0.8 => 1.0.8
    @storybook/blocks: ^7.4.5 => 7.4.5
    @storybook/nextjs: ^7.4.5 => 7.4.5
    @storybook/react: ^7.4.5 => 7.4.5
    @storybook/testing-library: ^0.2.1 => 0.2.1

Additional context

I have also used chmod to ensure that the right privileges should be available for the project.

贡献者指南