hernansartorio / hernansartorio/react-nice-dates

Type error: Module '"react-nice-dates"' has no exported member 'START_DATE'

Open
#90 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.1k
Forks
77
PR merge metrics
No merged PRs in 30d

Description

I am using react-nice-dates in react Typescript,it is work on local host but on deployment its showing error.
`

Type error: Module '"react-nice-dates"' has no exported member 'START_DATE'.
--
21:33:17.966 |  
21:33:17.966 | 5 \| import { format } from 'date-fns'
21:33:17.967 | 6 \| import { enGB } from 'date-fns/locale'
21:33:17.967 | > 7 \| import { DateRangePickerCalendar, START_DATE } from 'react-nice-dates'
21:33:17.967 | \| ^
21:33:17.967 | 8 \| import 'react-nice-dates/build/style.css'
21:33:17.967 | 9 \| import { start } from 'repl';
21:33:17.967 | 10 \| const Search = () => {
21:33:17.988 | error Command failed with exit code 1.

`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.