esbenp / react-native-clean-form

Easy react-native forms using bootstrap-like syntax with redux-form+immutablejs integration. Styled using styled-components
http://esbenp.github.io/2017/01/06/react-native-redux-form-immutable-styled-components/
MIT License
478 stars 83 forks source link

Unable to resolve module 'immutable' #60

Open clay-morgan opened 6 years ago

clay-morgan commented 6 years ago

Using this with redux-form 7.0.3

As soon as I import anything from 'react-native-clean-form/redux-form' the packager refuses to run with this error: Unable to resolve module 'immutable' from '(...projectDir)\node_modules\redux-form\lib\structure\immutable\index.js': Module does not exist in the module map.

I have tried resetting packager cache and re installing my node modules. As soon as I remove this line: import { Input } from 'react-native-clean-form/redux-form';

then everything is fine again. Any ideas?

jarbasdossantos commented 6 years ago

Same problem here!

jarbasdossantos commented 6 years ago

@clay-morgan just run npm install immutable --save, will solve

clay-morgan commented 6 years ago

thanks! maybe I will revisit this library

leoskyrocker commented 6 years ago

Came across the same issue. Is there anyway to exclude it since I'm not using immutable here nor in redux-form?

markusguenther commented 6 years ago

Sry I am currently not working much with react native and the most dependencies in this library are outdated. But don't have the time to upgrade this.