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
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".
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
This is also documented in the migration guide.
Downgrading
react-number-format
to version 4.9.4 solved the problem.The text was updated successfully, but these errors were encountered: