'Running the npm ls react-dom shows duplicates
I ran the npm ls react-dom command and I'm getting the following output
│ ├── [email protected] deduped invalid: "~0.14 || ^15.0.0 || ^16.0.0" from node_modules/jodit-react, "^16.9.0" from node_modules/react-datepicker, "0.14.x || 15.x.x || 16.x.x" from node_modules/react-daterange-picker, "^16.0.0" from node_modules/react-google-login, "^0.14.0 || ^15.0.0 || ^16.0.0" from node_modules/react-lazyload, "^0.14 || ^15.0.0 || ^ 16.0.0" from node_modules/react-meta-tags, "^0.14.6 || 15.x.x || 16.x.x" from node_modules/react-paypal-button-v2, "^16.8.0" from node_modules/react-select, "^16.7.0" from node_modules/react-social-sharing
│ ├─┬ [email protected]
│ │ └── [email protected] deduped invalid: "~0.14 || ^15.0.0 || ^16.0.0" from node_modules/jodit-react, "^16.9.0" from node_modules/react-datepicker, "0.14.x || 15.x.x || 16.x.x" from node_modules/react-daterange-picker, "^16.0.0" from node_modules/react-google-login, "^0.14.0 || ^15.0.0 || ^16.0.0" from node_modules/react-lazyload, "^0.14 || ^15.0.0 || ^ 16.0.0" from node_modules/react-meta-tags, "^0.14.6 || 15.x.x || 16.x.x" from node_modules/react-paypal-button-v2, "^16.8.0" from node_modules/react-select, "^16.7.0" from node_modules/react-social-sharing, "^15.5.4 || ^16.0.0-0" from node_modules/react-stripe-elements, "^15.0.0 || ^16.0.0" from node_modules/react-with-firebase-auth
│ └─┬ [email protected]
│ └── [email protected] deduped invalid: "~0.14 || ^15.0.0 || ^16.0.0" from node_modules/jodit-react, "^16.9.0" from node_modules/react-datepicker, "0.14.x || 15.x.x || 16.x.x" from node_modules/react-daterange-picker, "^16.0.0" from node_modules/react-google-login, "^0.14.0 || ^15.0.0 || ^16.0.0" from node_modules/react-lazyload, "^0.14 || ^15.0.0 || ^ 16.0.0" from node_modules/react-meta-tags, "^0.14.6 || 15.x.x || 16.x.x" from node_modules/react-paypal-button-v2, "^16.8.0" from node_modules/react-select, "^16.7.0" from node_modules/react-social-sharing, "^15.5.4 || ^16.0.0-0" from node_modules/react-stripe-elements, "^15.0.0 || ^16.0.0" from node_modules/react-with-firebase-auth, "^16.8.4" from node_modules/react-social-sharing/node_modules/styled-is
├─┬ [email protected]
│ └── [email protected] deduped invalid: "~0.14 || ^15.0.0 || ^16.0.0" from node_modules/jodit-react, "^16.9.0" from node_modules/react-datepicker, "0.14.x || 15.x.x || 16.x.x" from node_modules/react-daterange-picker, "^16.0.0" from node_modules/react-google-login, "^0.14.0 || ^15.0.0 || ^16.0.0" from node_modules/react-lazyload, "^0.14 || ^15.0.0 || ^ 16.0.0" from node_modules/react-meta-tags, "^0.14.6 || 15.x.x || 16.x.x" from node_modules/react-paypal-button-v2, "^16.8.0" from node_modules/react-select, "^16.7.0" from node_modules/react-social-sharing, "^15.5.4 || ^16.0.0-0" from node_modules/react-stripe-elements
├─┬ [email protected]
│ └── [email protected] deduped invalid: "~0.14 || ^15.0.0 || ^16.0.0" from node_modules/jodit-react, "^16.9.0" from node_modules/react-datepicker, "0.14.x || 15.x.x || 16.x.x" from node_modules/react-daterange-picker, "^16.0.0" from node_modules/react-google-login, "^0.14.0 || ^15.0.0 || ^16.0.0" from node_modules/react-lazyload, "^0.14 || ^15.0.0 || ^ 16.0.0" from node_modules/react-meta-tags, "^0.14.6 || 15.x.x || 16.x.x" from node_modules/react-paypal-button-v2, "^16.8.0" from node_modules/react-select, "^16.7.0" from node_modules/react-social-sharing, "^15.5.4 || ^16.0.0-0" from node_modules/react-stripe-elements
└─┬ [email protected]
└── [email protected] deduped invalid: "~0.14 || ^15.0.0 || ^16.0.0" from node_modules/jodit-react, "^16.9.0" from node_modules/react-datepicker, "0.14.x || 15.x.x || 16.x.x" from node_modules/react-daterange-picker, "^16.0.0" from node_modules/react-google-login, "^0.14.0 || ^15.0.0 || ^16.0.0" from node_modules/react-lazyload, "^0.14 || ^15.0.0 || ^ 16.0.0" from node_modules/react-meta-tags, "^0.14.6 || 15.x.x || 16.x.x" from node_modules/react-paypal-button-v2, "^16.8.0" from node_modules/react-select, "^16.7.0" from node_modules/react-social-sharing, "^15.5.4 || ^16.0.0-0" from node_modules/react-stripe-elements, "^15.0.0 || ^16.0.0" from node_modules/react-with-firebase-auth
Seems like there are duplicates. How do I handle this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
