react-scripts@2.0.0-next.66cc7a90 and react-styleguidist@7 incompatibility
See original GitHub issueIs this a bug report?
Yes
Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
N/A
Environment
Environment: OS: macOS High Sierra 10.13.4 Node: 8.11.1 Yarn: 1.7.0 npm: 6.1.0 Watchman: Not Found Xcode: Not Found Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed) react: 16.2.0 => 16.2.0 react-dom: 16.2.0 => 16.2.0 react-scripts: 2.0.0-next.66cc7a90 => 2.0.0-next.66cc7a90
Steps to Reproduce
- create app with react-scripts@2.0.0-next.66cc7a90
- Add react-styleguidist@7
- start application development server with
yarn start
ornpm run start
Expected Behavior
The application server should start without failing a pre-flight check
Actual Behavior
Application server fails to start due to strict matching on webpack-dev-server to version 2.11.0 and react-styleguidist@7 uses webpack-dev-server@2.11.2
Reproducible Demo
I don’t have time to build one right now. I’ll add one if I have time later.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
react-scripts - npm
Configuration and scripts for Create React App.. ... Start using react-scripts in your project by running `npm i ... 2.0.0-next.66cc7a90.
Read more >React-scripts versions and peer dependencies
Online Peer dependency version tool to search for compatible versions of related NPM packages.
Read more >Versions - React
React Versions. A complete release history for React is available on GitHub. Changelogs for recent releases can also be found below.
Read more >react-scripts | Yarn - Package Manager
Create React App 5.0.1 is a maintenance release that improves compatibility with React 18. We've also updated our templates to use createRoot and...
Read more >react-scripts - Snyk Vulnerability Database
version published direct vulnerabilities
5.0.1 12 Apr, 2022 0. C. 0. H. 0. M. 0. L
5.1.0‑next.14 12 Apr, 2022 0. C. 0. H. 0....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
react-scripts 2 will change how this works, suggesting you install it to a monorepo/separate package. Plus, we don’t have “support” for it – this was a contributor-provided guide that we don’t know how to support.
These two things should never be installed side-by-side, so I’m closing this. There’s too many nuanced bugs in package managers and packages for us to even attempt to solve this; the package manager should handle it.