Can't start with storybook!
See original GitHub issueDescribe the bug
React-scripts can be started as higher version of webpack is found higher in the tree
After analyzing package-lock.json I can say that storybook requires webpack ^4.33 so probably it installs 4.41.2 which is incompatible.
Did you try recovering your dependencies?
npm 6.12.0
Which terms did you search for in User Guide?
found similar issue with storybook, cra and babel-loader. Tried to re-init storybook like npx -p @storybook/cli sb init --type react_scripts -f
but didn’t help
Environment
Environment Info:
System: OS: macOS 10.15 CPU: (12) x64 Intel® Core™ i7-8750H CPU @ 2.20GHz Binaries: Node: 12.13.0 - /usr/local/bin/node Yarn: 1.19.1 - /usr/local/bin/yarn npm: 6.12.0 - /usr/local/bin/npm Browsers: Chrome: 78.0.3904.70 Firefox: 68.0.2 Safari: 13.0.2 npmPackages: react: 16.11.0 react-dom: 16.11.0 react-scripts: 3.2.0 npmGlobalPackages: create-react-app: Not Found
Steps to reproduce
- npm install
- npm start
Expected behavior
App should start
Actual behavior
App can’t start
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5
Top GitHub Comments
Until the issue resolved, I just added 4.41.0 as dev dependency in my package.json
"webpack": "4.41.0"
This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue.