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

getting a module not found error, tested in 2 projects. #34

Open
dragon130 opened this issue Feb 15, 2023 · 5 comments
Open

getting a module not found error, tested in 2 projects. #34

dragon130 opened this issue Feb 15, 2023 · 5 comments

Comments

@dragon130
Copy link

image

@marhub
Copy link

marhub commented Feb 22, 2023

Same here, mac OS.

@robertomlj
Copy link

Same here, Ubuntu Linux 22.10

@robertomlj
Copy link

I solved my problem by installing previous versions of packages, which were tested and worked perfectly with MUI v5 and formik

Just install the following versions:

  • @rschpdr/react-money-input: v0.1.3
  • currency.js v2.0.3

This is the command with yarn:

yarn add @rschpdr/[email protected] [email protected]

This is the codesandbox example:
https://codesandbox.io/s/material-ui-currency-fields-with-formik-forked-yke09l?file=/src/CurrencyField-ATM.jsx

@hut8
Copy link

hut8 commented Aug 10, 2023

#36 and #37 are duplicates of this. It was actually renamed to CurrencyInput but the docs weren't updated. Also the package.json won't load it automatically. I was able to get it to load by:
import CurrencyInput from "@rschpdr/react-money-input/dist/index";
But then the typings aren't loaded.
Basically, v1.0.0 broke everything and it seems like this has been abandoned since.

@Saravanakumar-Chinnasamy

The same error here.. "Module not found: Can't resolve '@rschpdr/react-money-input'

Need similar libraries or behavior using MUI components for React.. Any leads would be greatly appreciated.

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

5 participants