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
generateConfig[fn] is not a function for antd package #1033
Comments
I believe the fix that the OP refered to is adding this to the
Tested, and this fix the issue for me. Note that when using an |
Thank you and yes, that's what I was referring to, should've included more details about the fix. |
please publish latest version if this issue is fixed |
Facing this same issue with datetime widget. Applied above mentioned fix to override rc-picker version but it's giving another error mentioned below /test/node_modules/react-scripts/scripts/start.js:19 TypeError: fsevents.watch is not a function Node.js v20.12.2 |
Describe the bug
The 'Uncaught TypeError: generateConfig2[fn] is not a function' error occurs when using the datetime widget from the antd package
To Reproduce
Expected behavior
RangePicker widget to be shown
Screenshots
Additional context
Likely to be caused by a mismatch of dependency 'rc-picker' and 'antd'. The 'antd' version specified in package.json uses the function getMillisecond and setMillisecond from 'rc-picker', which does not exist in the 'rc-picker' version specified in package.json. Overriding the 'rc-picker' version to latest solve the problem
The text was updated successfully, but these errors were encountered: