redux-form-material-ui icon indicating copy to clipboard operation
redux-form-material-ui copied to clipboard

Dependency Problems. -Module not found, Toggle.JS

Open Oraclesports opened this issue 6 years ago • 3 comments

Hi, I am receiving missing module errors upon running my project while using this wrapper. My project is based on React and no webpack/compiler has been used. -Module not found, Toggle.JS, modules missing etc.

I like to check if the error is due to my react project not using any compiler?

Oraclesports avatar Sep 23 '18 14:09 Oraclesports

Same problem

Module not found: Can't resolve 'material-ui/Toggle'

artem-fil avatar Sep 23 '18 18:09 artem-fil

What version of material-ui are you using?

If you are using v3 then you will have the import error you are receiving. The new file paths start with @material-ui/core which does not match the import paths in this package.

The package has fallen a little behind with upgrading to the new version of material-ui.

Hope this helps

estermer avatar Oct 24 '18 22:10 estermer

I found out that they have a new prerelease version 5.0.0-Beta.3 that upgrades imports to the the newest version of MUI. you can see the release here: https://github.com/erikras/redux-form-material-ui/releases

estermer avatar Oct 25 '18 11:10 estermer