Storybook fails: file already exists, mkdir '/builds/dist/storybook/stories/assets'
See original GitHub issueMy story book is failing with the following error after I moved my asset to staticDirs,
staticDirs: [
{ from: '../../../src/assets', to: 'assets' },
],
info => Using angular project with "tsConfig:/builds/libs/stories/.storybook/tsconfig.json"
node:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: EEXIST: file already exists, mkdir '/builds/dist/storybook/stories/assets'] {
errno: -17,
code: 'EEXIST',
syscall: 'mkdir',
path: '/builds/dist/storybook/stories/assets'
}
storybook version is: "@nrwl/storybook": "14.3.6",
Is there a way to copy the file instead of mkdir?
Please advise
Issue Analytics
- State:
- Created a year ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
file already exists, mkdir '/storybook-static/favicon.ico' #16732
I created a new project in my junk tmp folder, to tryout a PR, and got an error on saying that the C:\Users\Mark\dev_home\tmp\New...
Read more >Configure Storybook
Configure Storybook. Storybook is configured via a folder called .storybook , which contains various configuration files. Note that you can change the folder ......
Read more >Why on trying to install ``storybook`` I get error as ``Error ...
Now that I want to install storybook using npx storybook init I am getting error as Error: EEXIST: file already exists, mkdir 'C:\Users\nEW' ......
Read more >storybook/addon-docs - npm
Document component usage and properties in Markdown. Latest version: 6.5.15, last published: 5 days ago. Start using @storybook/addon-docs ...
Read more >[Solved] Why on trying to install ``storybook`` I get error as ...
Abby Asks: Why on trying to install ``storybook`` I get error as ``Error: EEXIST: file already exists, mkdir 'C:\Users\nEW' command not ...
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 FreeTop 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
Top GitHub Comments
Hi there @dean-g ! I’ll get to it next week! Unless @Coly010 can help!
I will be closing this for now @dean-g , and please ping me again if this persists, and we can reopen. I will ping the Storybook team to see if they can help, too.