Open
Description
During the first setup, react-number-format
was installed with version 5.3.1.
Between v4 and v5 there are a few breaking changes and I run into
6: import NumberFormat from 'react-number-format';
^
[..]
error during build:
RollupError: "default" is not exported by "../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/react-number-format/dist/react-number-format.es.js", imported by "../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@emotion+re_kecz67imlc4dja4o5pzcfdqrli/node_modules/react-hook-form-chakra-fields/dist/react-hook-form-chakra-fields.esm.js".
This is also documented in the migration guide.
Downgrading react-number-format
to version 4.9.4 solved the problem.
Metadata
Metadata
Assignees
Labels
No labels