arqex / react-datetime

A lightweight but complete datetime picker react component.
1.99k stars 873 forks source link

Make react-datetime compatible with React 17.0.2 #792

Closed josh-annexus closed 2 years ago

josh-annexus commented 3 years ago

I'm Submitting a ...

[ ] Bug report
[ ] Feature request
[x] Support request

Steps to Reproduce

I'm using npm version 7 and getting the following peerDependency error: npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [myProject] npm ERR! Found: react@17.0.2 npm ERR! node_modules/react npm ERR! react@"^17.0.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.5.0" from react-datetime@3.0.4 npm ERR! node_modules/react-datetime npm ERR! react-datetime@"^3.0.4" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Expected Results

Actual Results

Minimal Reproduction of the Problem

Other Information (e.g. stacktraces, related issues, suggestions how to fix)

alejandroiglesias commented 2 years ago

@arqex could you please merge #764 to fix this?

alejandroiglesias commented 2 years ago

@layneanderson great! Will a new release come out soon? Without publishing this change into npm, it still cannot be installed.