Closed
Description
If something’s messed up with your project setup, it would be great to have a way to repair it.
The most common problem I’ve seen in React apps is duplicate React installation.
It caused countless lost hours and people still bump into it: facebook/react#2402
We could offer npm run doctor
that checks for common problems. As the first step, it would check npm ls | grep react
and if there are two React installations, explain how to fix it (i.e. remove the nested one).
Metadata
Metadata
Assignees
Labels
No labels