You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to update dependencies in a project using react-day-picker and date-fns, I encountered a dependency conflict with the latest version of date-fns (3.0.1).
To reproduce
Have a project with both react-day-picker and date-fns.
Run npm outdated to see the available updates.
Run npm update.
Expected behavior
I expected all dependencies to update without any conflicts.
Actual behaviour
npm ERR! Found: [email protected]
npm ERR! node_modules/date-fns
npm ERR! date-fns@"^3.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer date-fns@"^2.28.0" from [email protected]
npm ERR! node_modules/react-day-picker
npm ERR! react-day-picker@"^8.9.1" from the root project
Bug description
When attempting to update dependencies in a project using react-day-picker and date-fns, I encountered a dependency conflict with the latest version of date-fns (3.0.1).
To reproduce
Expected behavior
I expected all dependencies to update without any conflicts.
Actual behaviour
Environment
Node.js version: 20.5.0
npm version: 10.1.0
react-day-picker: 8.9.1
date-fns: 3.0.1
The text was updated successfully, but these errors were encountered: