i installed docz 2.3.1 after that created simple Button.mdx and run npm run docz build and i got the error. I am trying to use docz on existing next js project
" ERROR
There was an error compiling the html.js component for the development server.
WebpackError: TypeError: Cannot read property 'myConfig' of undefined
."**
Note: it happens sometimes that it actually work, but then it stops and i have to delete packages, start everything again and its not always that after that it starts working again.
Bug Report
i installed docz 2.3.1 after that created simple Button.mdx and run npm run docz build and i got the error. I am trying to use docz on existing next js project
" ERROR
There was an error compiling the html.js component for the development server.
WebpackError: TypeError: Cannot read property 'myConfig' of undefined ."**
This is my doczrc.js file:
export default { src: './src/', title: 'App', typescript: true }
To Reproduce
Environment
Note: it happens sometimes that it actually work, but then it stops and i have to delete packages, start everything again and its not always that after that it starts working again.