I was investigating this and have encountered the same issue.
So there's a few things:
This is a bit of misinformation in the documentation, these files are generated when you run npm run storybook and npm run slice machine respectively.
Overwrite is probably the wrong word to use in the command, it will update these files. If you enter d when it questions you whether to overwrite these files is will show you the changes it will make and you can see there's no issue here.
Running Storybook errors
When I ran npm run storybook on my side I got 2 errors:
So I was able to recreate your issue, thank you for providing me with all the information. Once I changed my Node version to V.14 I got the same error as you.
The fix is either to upgrade to Node V.16, or to update @nuxtjs/storybook & @storybook/vue with:
npm i @nuxtjs/storybook@latest @storybook/vue@latest
Also you don't need @storybook/addon-actions installed.
So I didn't realise you were testing in Yarn. It seems there's an issue with the Yarn, Nuxt and Webpack with the css loader. You need to install sass-loader to get this working.
yarn add sass-loader@10.1.0
Remember to delete your yarn.lock when installing the node modules from scratch. I also updated these packages to the latest:
I was having a similar issue as well and this guide was perfect and I was able to run slicemachine and storybook. But now when I run "yarn dev" I get
Module build failed (from ./node_modules/postcss-loader/dist/cjs.js): ValidationError: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema. - options has an unknown property 'order'.
I've tried installing the postcss and cssloader dependancies and that leads to a different error below.
TypeError: this.getOptions is not a function in vue.js