rxr
rxr copied to clipboard
bug with recent react native version, deep-equal error
hi, these are my dependencies
"dependencies": {
"babel-eslint": "8.0.2",
"color": "2.0.1",
"eslint": "4.12.0",
"eslint-config-airbnb": "16.1.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jsx-a11y": "6.0.2",
"eslint-plugin-react": "7.5.1",
"isomorphic-fetch": "^2.2.1",
"lodash.merge": "^4.6.0",
"prop-types": "^15.5.10",
"react": "16.2.0",
"react-native": "0.53.0",
"react-native-material-design-styles": "^0.2.6",
"react-native-material-ui": "^1.19.0",
"react-native-vector-icons": "^4.5.0",
"react-navigation": "^1.0.0-beta.21",
"rxjs": "^5.5.6",
"rxr": "^0.2.0",
"rxr-react": "^0.1.2"
},
and i get this error
Loading dependency graph, done.
warning: the transform cache was reset.
error: bundling failed: Error: Unable to resolve module `deep-equal` from `C:\Users\p.kordrostami\source\growlab\node_modules\rxr\lib\createLoggerStream.js`: Module does not exist in the module map
This might be related to https://github.com/facebook/react-native/issues/4968
To resolve try the following:
1. Clear watchman watches: `watchman watch-del-all`.
2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`.
3. Reset Metro Bundler cache: `rm -rf $TMPDIR/react-*` or `npm start -- --reset-cache`. 4. Remove haste cache: `rm -rf $TMPDIR/haste-map-react-native-packager-*`.
and no the suggested solution does not fix the problem. please help. thank you for your awesomeness
hi @kordeviant seems weir because rxr has dependency 'deep-equal' package. Did you try (normally not needed) npm install deep-equal in your project?