Open gabrielliwerant opened 11 months ago
What is the current behavior?
After cloning repo and running npm install, npm run storybook errors out.
npm install
npm run storybook
What is the expected behavior?
Storybook should finish loading and allow viewing in broswer.
Could you provide a CodeSandbox demo reproducing the bug?
Error output is as follows:
ERR! TypeError: Cannot read property 'includes' of undefined ERR! at MiniCssExtractPlugin.apply (C:\Repos\react-transition-group\node_modules\mini-css-extract-plugin\dist\index.js:87:42) ERR! at webpack (C:\Repos\react-transition-group\node_modules\@storybook\builder-webpack4\node_modules\webpack\lib\webpack.js:51:13) ERR! at starterGeneratorFn (C:\Repos\react-transition-group\node_modules\@storybook\builder-webpack4\dist\cjs\index.js:137:18) ERR! at starterGeneratorFn.next (<anonymous>) ERR! at Object.start (C:\Repos\react-transition-group\node_modules\@storybook\builder-webpack4\dist\cjs\index.js:275:34) ERR! at async Promise.all (index 0) ERR! at async storybookDevServer (C:\Repos\react-transition-group\node_modules\@storybook\core-server\dist\cjs\dev-server.js:203:28) ERR! at async buildDevStandalone (C:\Repos\react-transition-group\node_modules\@storybook\core-server\dist\cjs\build-dev.js:120:31) ERR! at async buildDev (C:\Repos\react-transition-group\node_modules\@storybook\core-server\dist\cjs\build-dev.js:174:5) ERR! TypeError: Cannot read property 'includes' of undefined ERR! at MiniCssExtractPlugin.apply (C:\Repos\react-transition-group\node_modules\mini-css-extract-plugin\dist\index.js:87:42) ERR! at webpack (C:\Repos\react-transition-group\node_modules\@storybook\builder-webpack4\node_modules\webpack\lib\webpack.js:51:13) ERR! at starterGeneratorFn (C:\Repos\react-transition-group\node_modules\@storybook\builder-webpack4\dist\cjs\index.js:137:18) ERR! at starterGeneratorFn.next (<anonymous>) ERR! at Object.start (C:\Repos\react-transition-group\node_modules\@storybook\builder-webpack4\dist\cjs\index.js:275:34) ERR! at async Promise.all (index 0) ERR! at async storybookDevServer (C:\Repos\react-transition-group\node_modules\@storybook\core-server\dist\cjs\dev-server.js:203:28) ERR! at async buildDevStandalone (C:\Repos\react-transition-group\node_modules\@storybook\core-server\dist\cjs\build-dev.js:120:31) ERR! at async buildDev (C:\Repos\react-transition-group\node_modules\@storybook\core-server\dist\cjs\build-dev.js:174:5) { ERR! stack: "TypeError: Cannot read property 'includes' of undefined\n" + ERR! ' at MiniCssExtractPlugin.apply (C:\\Repos\\react-transition-group\\node_modules\\mini-css-extract-plugin\\dist\\index.js:87:42)\n' + ERR! ' at webpack (C:\\Repos\\react-transition-group\\node_modules\\@storybook\\builder-webpack4\\node_modules\\webpack\\lib\\webpack.js:51:13)\n' + ERR! ' at starterGeneratorFn (C:\\Repos\\react-transition-group\\node_modules\\@storybook\\builder-webpack4\\dist\\cjs\\index.js:137:18)\n' + ERR! ' at starterGeneratorFn.next (<anonymous>)\n' + ERR! ' at Object.start (C:\\Repos\\react-transition-group\\node_modules\\@storybook\\builder-webpack4\\dist\\cjs\\index.js:275:34)\n' + ERR! ' at async Promise.all (index 0)\n' + ERR! ' at async storybookDevServer (C:\\Repos\\react-transition-group\\node_modules\\@storybook\\core-server\\dist\\cjs\\dev-server.js:203:28)\n' + ERR! ' at async buildDevStandalone (C:\\Repos\\react-transition-group\\node_modules\\@storybook\\core-server\\dist\\cjs\\build-dev.js:120:31)\n' + ERR! ' at async buildDev (C:\\Repos\\react-transition-group\\node_modules\\@storybook\\core-server\\dist\\cjs\\build-dev.js:174:5)' ERR! }
Error occurs on running git clone, npm install and npm run storybook on master, commit 2989b5b87b4b4d1001f21c8efa503049ffb4fe8d
master
2989b5b87b4b4d1001f21c8efa503049ffb4fe8d
After cloning repo and running
npm install
,npm run storybook
errors out.Storybook should finish loading and allow viewing in broswer.
Error output is as follows:
Error occurs on running git clone,
npm install
andnpm run storybook
onmaster
, commit2989b5b87b4b4d1001f21c8efa503049ffb4fe8d