react-workspaces icon indicating copy to clipboard operation
react-workspaces copied to clipboard

Can't start the storybook without 'yarn upgrade'

Open philippe-lavoie opened this issue 5 years ago • 0 comments

Hi

yarn storybook leads to many warnings about CSS files not found and eventually many errors, the first one being

ERROR in ./node_modules/@storybook/core/dist/server/common/polyfills.js
Module not found: Error: Cannot find module 'C:\PhilProjects\react\react-workspaces\node_modules\source-map-loader\index.js!C:\PhilProjects\react\react-workspaces\node_modules\core-js\features\symbol\index.js'
Require stack:
- C:\PhilProjects\react\react-workspaces\node_modules\corejs-upgrade-webpack-plugin\dist\index.js
- C:\PhilProjects\react\react-workspaces\node_modules\@storybook\core\dist\server\manager\manager-webpack.config.js
- C:\PhilProjects\react\react-workspaces\node_modules\@storybook\core\dist\server\manager\manager-preset.js
-

Doing yarn upgrade fixed it.

Not sure if that's a bug or if it's normal.

philippe-lavoie avatar Jan 28 '20 19:01 philippe-lavoie