Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing dependencies #4767

Open
abarreau opened this issue May 6, 2024 · 0 comments
Open

Error when installing dependencies #4767

abarreau opened this issue May 6, 2024 · 0 comments

Comments

@abarreau
Copy link

abarreau commented May 6, 2024

Describe the bug
Using node 20.3.1 and yarn 3.3.0, when doing yarn install with react-datepicker@6.9.0 and @types/react-datepicker@6.2.0 I have the following error:

../node_modules/date-fns/index.d.ts(246,1): error TS1383: Only named exports may use 'export type'.
../node_modules/date-fns/types.d.ts(2,1): error TS1383: Only named exports may use 'export type'.
../node_modules/date-fns/types.d.ts(3,1): error TS1383: Only named exports may use 'export type'.

To Reproduce

  • Use node 20 and react-datepicker v6.9.0
  • Yarn install

Expected behavior
Installation should happen without errors.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant