Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

react-scripts@2.0.0-next.66cc7a90 and react-styleguidist@7 incompatibility

See original GitHub issue

Is this a bug report?


Did you try recovering your dependencies?


Which terms did you search for in User Guide?



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

  1. create app with react-scripts@2.0.0-next.66cc7a90
  2. Add react-styleguidist@7
  3. start application development server with yarn start or npm 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:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

Timercommented, Jul 23, 2018

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.

Timercommented, Jul 23, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found