Skip to content

Bug: Cannot find module error, after running next build #1541

Answered by gpbl
Edymov asked this question in Support
Discussion options

You must be logged in to vote

@Edymov your issue is here:

import { DayPickerProps } from 'react-day-picker/src/DayPicker';

instead, import from 'react-day-picker':

- import { DayPickerProps } from 'react-day-picker/src/DayPicker';
+ import { DayPickerProps } from 'react-day-picker';

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gpbl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1540 on September 06, 2022 14:34.