React-datepicker: ReferenceError: navigator is not defined

Created on 1 Sep 2017  路  2Comments  路  Source: Hacker0x01/react-datepicker

I updated from 0.46.0 to 0.53.0 but I get the following error.

ReferenceError: navigator is not defined
        at .../node_modules/react-datepicker/dist/react-datepicker.min.js:7:13611
        at pe (.../node_modules/react-datepicker/dist/react-datepicker.min.js:6:29542)
        at Object.<anonymous> (.../node_modules/react-datepicker/dist/react-datepicker.min.js:6:29546)
        at Object.<anonymous> (.../node_modules/react-datepicker/dist/react-datepicker.min.js:7:17502)

Any ideas how to get around this issue? Thanks in advance.

wontfix

Most helpful comment

had the same issue but found the answer here

All 2 comments

had the same issue but found the answer here

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings