You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am encountering the following error when running my Next.js 15.1.7 development environment with the --turbo (or --turbopack) option enabled, while using react-datepicker:
TypeError: _extendStatics is not a function
This error appears to originate from the react-datepicker distribution (index.es.js). Notably, this issue did not occur with an earlier version (e.g., Next.js 15.0.4).
To Reproduce
Steps to reproduce the behavior:
Run the Next.js 15.1.7 development environment with the --turbo (or --turbopack) option enabled.
Use react-datepicker in the project.
Render and interact with the date picker.
Observe the above error in the console.
Expected behavior
react-datepicker should work without throwing this error and behave as it did with Next.js 15.0.4.
Screenshots
Desktop (please complete the following information):
OS: Windows
Browser: Chrome
Version: latest]
Additional context
This error only occurs when the --turbo (or --turbopack) option is enabled in Next.js 15.1.7.
The text was updated successfully, but these errors were encountered:
Describe the bug
I am encountering the following error when running my Next.js 15.1.7 development environment with the --turbo (or --turbopack) option enabled, while using react-datepicker:
TypeError: _extendStatics is not a function
This error appears to originate from the react-datepicker distribution (index.es.js). Notably, this issue did not occur with an earlier version (e.g., Next.js 15.0.4).
To Reproduce
Steps to reproduce the behavior:
Run the Next.js 15.1.7 development environment with the --turbo (or --turbopack) option enabled.
Use react-datepicker in the project.
Render and interact with the date picker.
Observe the above error in the console.
Expected behavior
react-datepicker should work without throwing this error and behave as it did with Next.js 15.0.4.
Screenshots
Desktop (please complete the following information):
OS: Windows
Browser: Chrome
Version: latest]
Additional context
This error only occurs when the --turbo (or --turbopack) option is enabled in Next.js 15.1.7.
The text was updated successfully, but these errors were encountered: