build-storybook breaks on linux in CI
See original GitHub issueDescribe the bug
Storybook build fails on Docker container with node:12
image (in GitLab CI)
https://github.com/nodejs/docker-node/blob/41ea0562287bbf98693572c9228edc1beb7fd709/12/alpine3.12/Dockerfile
info @storybook/react v6.1.0
info
info => Cleaning outputDir /builds/.../.storybook-out
ERR! Error: EISDIR: illegal operation on a directory, copyfile '/.../.storybook-out' -> '/root/.local/share/Trash/files/963272c4-1efa-4f38-81d7-d95364db9e0d'
ERR! [Error: EISDIR: illegal operation on a directory, copyfile '/.../.storybook-out' -> '/root/.local/share/Trash/files/963272c4-1efa-4f38-81d7-d95364db9e0d'] {
ERR! errno: -21,
ERR! code: 'EISDIR',
ERR! syscall: 'copyfile',
ERR! path: '/.../.storybook-out',
ERR! dest: '/root/.local/share/Trash/files/963272c4-1efa-4f38-81d7-d95364db9e0d'
ERR! }
Definitely related to this: https://github.com/storybookjs/storybook/commit/9d4264b9c9c3125b23349abc2b202ad50571c213 and this: https://github.com/sindresorhus/trash/issues/92
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:10 (4 by maintainers)
Top Results From Across the Web
CLI options - Storybook
Storybook comes with two CLI utilities: start-storybook and build-storybook . Storybook collects completely anonymous data to help us improve user experience.
Read more >Storybook - GitLab Docs
Stories can be added for any Vue component in the gitlab repository. To add a story: Create a new .stories.js file in the...
Read more >storybook err_ossl_evp_unsupported - You.com | The Search ...
Describe the bug When I running the cmd line ̀yarn build-storybook -c ... Environment Info: System: OS: Linux 5.11 Ubuntu 20.04.3 LTS (Focal...
Read more >Amazon.com: Little Bunny's Own Storybook
Amazon.com: Little Bunny's Own Storybook: 9781988468037: Welwood, ... and it encourages children to use their imaginations to create stories of their own.
Read more >sbg-storybook - npm
[Updating to New Releases](#updating-to-new-releases) - [Sending Feedback](#sending-feedback) - [Folder Structure](#folder-structure) - [Available ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We’re also experiencing this in our CI system. I believe it’s due to the outputDir being a docker volume. Looks like the way these deletes happened changed in 6.1.x. I’ll be submitting a PR soon for a simple fix that just empties the folder instead of removing and recreating it.
Hurrah!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.1.3 containing PR #13211 that references this issue. Upgrade today to the
@latest
NPM tag to try it out!Closing this issue. Please re-open if you think there’s still more to do.