Closed praneetha-ck-robo closed 4 years ago
You need to install date-fns in your node_modules. As of the version 1.0.0, this module expects date-fns as a peerDependency. Just run npm install date-fns in your project folder and it should be OK.
You can use this sandbox as an example: https://codesandbox.io/s/react-date-range-example-bqksq
Subject of the issue
[BUG] Bug Reproduce Steps
After running
npm install
and then runningnpm start
, I get this error.Environment
Package Version: "^1.0.3" React version: ""^16.13.0" Node version: v12.16.1 Browser: Chrome - Version 80.0.3987.132